Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The complete message is:
PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'link' at row 1: INSERT INTO {aggregator_item} (title, link, author, description, guid, timestamp, fid) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => Fraunhofer ISE und AZUR SPACE Solar Power bekräftigen langjährige Kooperation - Entwicklung von Hochleistungs-solarzellen aus III-V Halbleitern für die Weltraumanwendung [:db_insert_placeholder_1] => http://www.ise.fraunhofer.de/presse-und-medien/presseinformationen/presseinformationen-2011/fraunhofer-ise-und-azur-space-solar-power-bekraeftigen-langjaehrige-kooperation-entwicklung-von-hochleistungs-solarzellen-aus-iii-v-halbleitern-fuer-die-weltraumanwendung [:db_insert_placeholder_2] => bmoritz [:db_insert_placeholder_3] => Entwicklung und Produktion höchsteffizienter Mehrfachsolarzellen aus III-V Halbleitern verbinden das Fraunhofer-Institut für Solare Energiesysteme ISE und AZUR SPACE Solar Power seit mehr als 15 Jahren. Diese strategische Partnerschaft wurde nun durch einen auf weitere 20 Jahre angelegten Kooperationsvertrag bekräftigt. Das Fraunhofer ISE wird in den kommenden Jahren exklusiv mit AZUR SPACE, Heilbronn an neuen Generationen von Solarzellen für die Anwendung im Weltraum arbeiten. [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => 1321954328 [:db_insert_placeholder_6] => 17 ) in aggregator_save_item() (Zeile 153 von /home/www/cleantech/modules/aggregator/aggregator.processor.inc).
The used RSS feed which causes this error is:
http://www.ise.fraunhofer.de/presse-und-medien/rss-feeds/feeds/aktuelle-presseinformationen-des-fraunhofer-ise/RSS
Comment | File | Size | Author |
---|---|---|---|
#7 | link_length-1351534-7.patch | 504 bytes | logaritmisk |
#1 | link_length-1351534-1.patch | 827 bytes | logaritmisk |
Comments
Comment #1
logaritmisk CreditAttribution: logaritmisk commentedCreated a patch to update link length to 2048 (same as link uses).
Source: http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-...
Comment #2
logaritmisk CreditAttribution: logaritmisk commentedForgot to change status.
Comment #4
philosurfer CreditAttribution: philosurfer commentedI was getting the error using a Google news feed.
I applied patch and it works. Cron is free to run again :)
The 256 char limit is too small.
Lets take a look at why this failed the test and get this fixed :)
Comment #5
marcingy CreditAttribution: marcingy commentedduplicate of #218004: Allow aggregator feed URLs longer than 255 characters
Comment #6
marcingy CreditAttribution: marcingy commentedMy bad - that is for feeds not items from the feed
Comment #7
logaritmisk CreditAttribution: logaritmisk commentedNew patch for 8.x-dev
Comment #8
nikos_sty CreditAttribution: nikos_sty commented#7: link_length-1351534-7.patch queued for re-testing.
Comment #10
mikhailian CreditAttribution: mikhailian commentedI had exactly the same problem on 7.15. Solved by changing the column length to 2048, as suggested above.
Comment #11
Cameron Tod CreditAttribution: Cameron Tod commentedThis has been fixed in #218004: Allow aggregator feed URLs longer than 255 characters
That fix needs a backport to d7 and d6.