Issues

ZF-6135: Set of "Undefined variable: majorProtocolVersion" errors

Description

{panel} 2) testImportFile(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:835

3) testHTTPETagsPropagateToEntriesOnGet(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:219

4) testImportUrlSetsMajorProtocolVersionOnEntry(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:219

5) testImportUrlSetsMinorProtocolVersionOnEntry(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:219

6) testImportUrlSetsNullVersionIfNoVersionHeaderOnEntry(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:219

7) testImportUrlSetsMajorProtocolVersionOnFeed(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:204

8) testImportUrlSetsMinorProtocolVersionOnFeed(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:204

9) testImportUrlSetsNullVersionIfNoVersionHeaderOnFeed(Zend_Gdata_AppTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:204

10) testIfNoneMatchSetOnReload(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

11) testIfNoneMatchCanBeSetOnReload(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

12) testReloadReturnsEntryObject(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

13) testReloadPopulatesEntryObject(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

14) testReloadDoesntThrowExceptionIfNoEtag(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

15) testReloadExtractsURIFromEditLink(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

16) testReloadAllowsCustomURI(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

17) testCanSetReloadReturnClassname(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265

18) testReloadInheritsClassname(Zend_Gdata_App_EntryTest) Undefined variable: majorProtocolVersion /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:808 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App.php:748 /home/cawa/ZendFramework/svn/framework/branches/release-1.7/library/Zend/Gdata/App/Entry.php:265 {panel}

Comments

It looks like the method signature for importString() is wrong, possibly due to a failed/missing merge from trunk into release-1.7.

trunk: 798 public static function importString($string, 799 $className='Zend_Gdata_App_Feed', $majorProtocolVersion = null, 800 $minorProtocolVersion = null) 801 {

release-1.7: 793 public static function importString($string, 794 $className='Zend_Gdata_App_Feed') 795 {

Fixed in release1-7 in r14500, sorry about that.