getTotal() Method of FeedsBatch class, sometimes called (i.e. from default FeedsNodeProcessor processor) before setTotal with appropriate $stage.
In that cases next string cause notices:
return $this->total[$stage];
I propose add isset() statement before return value of $this->total property.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | feeds-1087622-4.patch | 523 bytes | danepowell |
Comments
Comment #1
IRuslan commentedSorry, wrong project.
Comment #2
danepowell commentedThis is still a problem with the latest Feeds release.
Comment #3
danepowell commented... unfortunately also major since it breaks automated testing, much like #1450156: Fatal error: Class 'FeedsMapperTestCase' not found in
Comment #4
danepowell commentedThe attached patch fixes this error.
Comment #5
twistor commentedComment #6
twistor commentedWrong issue.
Comment #7
twistor commentederr this really was fixed.
http://drupalcode.org/project/feeds.git/commit/2e62914