When I run the upgrade script to go from 5.x-1.0 to 5.x-2.0 it never finishes. I've looked at the code and it seems like its just redoing the first 50 items over and over. I'm sure I'm reading it wrong though.
I had about 1400 feed items originally (it seems they never got deleted after the 1 week). Now, they seem to be duplicating. I have a number of feeds that it is retrieving multiple times. I'm sure this has to do with the new hash algorithm, but if you could suggest a way to fix things, I'd appreciate it.
Comments
Comment #1
mfer commentedI had the same problem except mine got through the update script and all my items were updated. It still never finished and kept repeating the update.
Comment #2
Jeroen Coumans commentedSame problem, with more than 2000 feed items. I use mine as an aggregation for delicious, and configured them to never delete. I also see my feed items duplicating again (which is really frustrating).
Comment #3
mfer commentedThere is an error in the update script. It's just doing the same 50 over and over. The problem is in
$limit is set to 50. In this case it's just going to do the same 50 items over and over.
Comment #4
Jeroen Coumans commentedAh yes, setting it to a higher value will allow the update script to finish!
Comment #5
m3avrck commentedThat would explain in my testing it worked great, I never had more than 50 items, haha.
The code was based an example Steven wrote must have changed the limit wrong, will look at soon, if someone can post a patch that would be great :)
Great catch Matt!
Comment #6
m3avrck commentedThis has been fixed with a new update_2 which now works: http://drupal.org/cvs?commit=120679
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.