ZF-5783: Undefined offset in Zend_Gdata_GdataOnlineTest::testFeedImplementation


When running Zend_Gdata_GdataOnlineTest, the following unit test failure occurs:

Undefined offset:  3

This is caused because testFeedImplementation() isn't calling rewind() before calling current(), and the changes made for protocol v2 support added a foreach() statement (which calls rewind() at the start of execution, not after).

The fix is to call rewind() inside of testFeedImplementation().


Assigning to [~jhartmann], since he already has code to fix this. :)

Fixed in r14177 and merged to 1-7 in r14178.