Issues

ZF-2674: Zend_Gdata_AttendeeStatusTest failing (trunk)

Description

Zend_Gdata_AttendeeStatusTest .... Warning: Zend_Loader::include_once(Zend/Gdata/Kind/AttendeeStatus.php): failed to open stream: No such file or directory in /home/sebastian/Work/ZendFramework/library/Zend/L oader.php on line 83

Call Stack: 0.0003 49000 1. {main}() /opt/php/bin/phpunit:0 0.0900 226508 2. require('/opt/php/lib/php/PHPUnit/TextUI/Command.php') /opt/php/bin/phpunit:44 0.6914 6224488 3. PHPUnit_TextUI_Command::main() /opt/php/lib/php/PHPUnit/TextUI/Command.php:528 14.1449 89121548 4. PHPUnit_TextUI_TestRunner->doRun() /opt/php/lib/php/PHPUnit/TextUI/Command.php:112 14.1452 89123008 5. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/TextUI/TestRunner.php:298 14.2099 89123128 6. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:623 62.0363 99155420 7. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:623 62.2756 99346236 8. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:623 62.2956 99355584 9. PHPUnit_Framework_TestSuite->runTest() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:640 62.2956 99355584 10. PHPUnit_Framework_TestCase->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:660 62.2956 99355584 11. PHPUnit_Framework_TestResult->run() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:320 62.2957 99355584 12. PHPUnit_Framework_TestCase->runBare() /opt/php/lib/php/PHPUnit/Framework/TestResult.php:597 62.2961 99385808 13. PHPUnit_Framework_TestCase->runTest() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:342 62.2962 99385976 14. ReflectionMethod->invoke() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:414 62.2962 99386024 15. Zend_Gdata_AttendeeStatusTest->testNormalAttendeeStatusShouldHaveNoExtensionElements() /home/sebastian/Work/ZendFramework/tests/Zend/Gdata/Attende eStatusTest.php:0 62.2971 99389084 16. Zend_Gdata->newAttendeeStatus() /home/sebastian/Work/ZendFramework/tests/Zend/Gdata/AttendeeStatusTest.php:79 62.2971 99389084 17. Zend_Gdata_App->__call() /home/sebastian/Work/ZendFramework/library/Zend/Gdata/App.php:0 62.2971 99389340 18. Zend_Loader::loadClass() /home/sebastian/Work/ZendFramework/library/Zend/Gdata/App.php:718

Warning: Zend_Loader::include_once(): Failed opening 'Zend/Gdata/Kind/AttendeeStatus.php' for inclusion (include_path='/home/sebastian/Work/ZendFramework/library:/home/sebas tian/Work/ZendFramework/tests:.:../library:../incubator/library:../incubator/tests:/opt/php/lib/php') in /home/sebastian/Work/ZendFramework/library/Zend/Loader.php on line 8 3

Call Stack: 0.0003 49000 1. {main}() /opt/php/bin/phpunit:0 0.0900 226508 2. require('/opt/php/lib/php/PHPUnit/TextUI/Command.php') /opt/php/bin/phpunit:44 0.6914 6224488 3. PHPUnit_TextUI_Command::main() /opt/php/lib/php/PHPUnit/TextUI/Command.php:528 14.1449 89121548 4. PHPUnit_TextUI_TestRunner->doRun() /opt/php/lib/php/PHPUnit/TextUI/Command.php:112 14.1452 89123008 5. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/TextUI/TestRunner.php:298 14.2099 89123128 6. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:623 62.0363 99155420 7. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:623 62.2756 99346236 8. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:623 62.2956 99355584 9. PHPUnit_Framework_TestSuite->runTest() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:640 62.2956 99355584 10. PHPUnit_Framework_TestCase->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:660 62.2956 99355584 11. PHPUnit_Framework_TestResult->run() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:320 62.2957 99355584 12. PHPUnit_Framework_TestCase->runBare() /opt/php/lib/php/PHPUnit/Framework/TestResult.php:597 62.2961 99385808 13. PHPUnit_Framework_TestCase->runTest() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:342 62.2962 99385976 14. ReflectionMethod->invoke() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:414 62.2962 99386024 15. Zend_Gdata_AttendeeStatusTest->testNormalAttendeeStatusShouldHaveNoExtensionElements() /home/sebastian/Work/ZendFramework/tests/Zend/Gdata/Attende eStatusTest.php:0 62.2971 99389084 16. Zend_Gdata->newAttendeeStatus() /home/sebastian/Work/ZendFramework/tests/Zend/Gdata/AttendeeStatusTest.php:79 62.2971 99389084 17. Zend_Gdata_App->__call() /home/sebastian/Work/ZendFramework/library/Zend/Gdata/App.php:0 62.2971 99389340 18. Zend_Loader::loadClass() /home/sebastian/Work/ZendFramework/library/Zend/Gdata/App.php:718

Comments

This is a result of r7577, where errors calling include_once were previously suppressed at Zend_Loader.php:83 and no longer are suppressed.

Fixed in r8131 - moved the error suppression up one level to the Zend_Gdata_App and Zend_Gdata_Gapps classes which call Zend_Loader to handle the magic data model class creation code in __call.

ZF-2677 describs the overall problem

Fixed in trunk - r8131.