ZF-631: Notices in .../tests/Zend/ViewTest.php
Description
Notice: Indirect modification of overloaded property Zend_View::$foo has no effect in /home/sebastian/Work/ZendFramework/tests/Zend/ViewTest.php on line 285
Call Stack: 0.0002 1. {main}() /opt/php/bin/phpunit:0 0.0016 2. require('/opt/php/lib/php/PHPUnit/TextUI/Command.php') /opt/php/bin/phpunit:40 0.0700 3. PHPUnit_TextUI_Command::main() /opt/php/lib/php/PHPUnit/TextUI/Command.php:401 1.1719 4. PHPUnit_TextUI_TestRunner->doRun() /opt/php/lib/php/PHPUnit/TextUI/Command.php:100 1.1726 5. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/TextUI/TestRunner.php:247 2.1469 6. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 106.0026 7. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 107.4115 8. PHPUnit_Framework_TestSuite->runTest() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:491 107.4115 9. PHPUnit_Framework_TestCase->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:510 107.4115 10. PHPUnit_Framework_TestResult->run() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:223 107.4143 11. PHPUnit_Framework_TestCase->runBare() /opt/php/lib/php/PHPUnit/Framework/TestResult.php:528 107.4211 12. PHPUnit_Framework_TestCase->runTest() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:243 107.4245 13. ReflectionMethod->invoke() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:300 107.4245 14. Zend_ViewTest->testSetArrayProperty() /home/sebastian/Work/ZendFramework/tests/Zend/ViewTest.php:0
Notice: Undefined offset: 0 in /home/sebastian/Work/ZendFramework/tests/Zend/ViewTest.php on line 290
Call Stack: 0.0002 1. {main}() /opt/php/bin/phpunit:0 0.0016 2. require('/opt/php/lib/php/PHPUnit/TextUI/Command.php') /opt/php/bin/phpunit:40 0.0700 3. PHPUnit_TextUI_Command::main() /opt/php/lib/php/PHPUnit/TextUI/Command.php:401 1.1719 4. PHPUnit_TextUI_TestRunner->doRun() /opt/php/lib/php/PHPUnit/TextUI/Command.php:100 1.1726 5. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/TextUI/TestRunner.php:247 2.1469 6. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 106.0026 7. PHPUnit_Framework_TestSuite->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:478 107.4115 8. PHPUnit_Framework_TestSuite->runTest() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:491 107.4115 9. PHPUnit_Framework_TestCase->run() /opt/php/lib/php/PHPUnit/Framework/TestSuite.php:510 107.4115 10. PHPUnit_Framework_TestResult->run() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:223 107.4143 11. PHPUnit_Framework_TestCase->runBare() /opt/php/lib/php/PHPUnit/Framework/TestResult.php:528 107.4211 12. PHPUnit_Framework_TestCase->runTest() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:243 107.4245 13. ReflectionMethod->invoke() /opt/php/lib/php/PHPUnit/Framework/TestCase.php:300 107.4245 14. Zend_ViewTest->testSetArrayProperty() /home/sebastian/Work/ZendFramework/tests/Zend/ViewTest.php:0
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2006-12-10T12:52:27.000+0000
These notices are due to changes in how overloaded properties are handled in 5.2.0. Upgrading from trivial to critical as it needs to be addressed, and because the solution will be non-trivial to implement.
Posted by Matthew Weier O'Phinney (matthew) on 2006-12-12T21:38:22.000+0000
Notices fixed in revision 2277.