Issues

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

Issue Type: Unit Tests: Problem Created: 2009-03-26T14:09:32.000+0000 Last Updated: 2009-03-27T05:37:41.000+0000 Status: Resolved Fix version(s): - 1.7.8 (30/Mar/09)

Reporter: Alexander Veremyev (alexander) Assignee: Jochen Hartmann (jhartmann) Tags: - Zend_Gdata

Related issues: Attachments:

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

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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

Posted by Trevor Johns (tjohns) on 2009-03-26T15:18:49.000+0000

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 {

Posted by Jochen Hartmann (jhartmann) on 2009-03-26T15:32:20.000+0000

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts