Avoid breaking whole save process at default processor when there are faulty item(s)

Created on 21 July 2012, over 12 years ago
Updated 25 August 2023, over 1 year ago

(I had earlier reported this as part of Deleted feed aggregator reappeared but decided to report this as a separate bug).

this feed worked fine in 6.26: http://feeds.feedburner.com/uua/Lxnn

however, in 7.14 it causes cron to fail with an error in the log:

PDOException: SQLSTATE[22003]: Numeric value out of range: 1264
Out of range value for column 'timestamp' at row 1: ... [:db_insert_placeholder_5] => -2209143600

I tracked this down to an incorrect pubDate in the 5 oldest entries (actually VERY OLD entries ;-) ): December 29, 1899 9:00 PM
which generates the negative timestamp value in the SQL error.

now, I have contacted the source of the feed and they acknowledge the problem and say that they will fix or remove the items -- but they haven't yet...

in the meanwhile, if this error happens with, say the 1st item in the feed, no items are updated in 7.14 (though as I mentioned earlier, 6.26 didn't have this problem). so I'm wondering whether 7.x might just skip problem items and continue processing remainder of the feed ?

Steve

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States saweyer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024