Issues

ZF-3130: Warnings emitted by Zend_Db_Table_Select unit tests

Issue Type: Unit Tests: Problem Created: 2008-04-17T11:44:46.000+0000 Last Updated: 2008-11-13T14:10:15.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Darby Felton (darby) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Db_Table

Related issues: Attachments:

Description

Results from PHP 5.2.5 on Linux:

<pre class="literal">
PHP Warning:  Select query cannot join with another table in /var/local/zf/library/Zend/Db/Table/Select.php on line 191
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpunit:0
PHP   2. require() /usr/local/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command::main() /usr/local/lib/php/PHPUnit/TextUI/Command.php:528
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/local/lib/php/PHPUnit/TextUI/Command.php:112
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/TextUI/TestRunner.php:304
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   8. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   9. PHPUnit_Framework_TestSuite->runTest() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:664
PHP  10. PHPUnit_Framework_TestCase->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:684
PHP  11. PHPUnit_Framework_TestResult->run() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:376
PHP  12. PHPUnit_Framework_TestCase->runBare() /usr/local/lib/php/PHPUnit/Framework/TestResult.php:610
PHP  13. PHPUnit_Framework_TestCase->runTest() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:401
PHP  14. ReflectionMethod->invoke() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:476
PHP  15. Zend_Db_Table_Select_TestCommon->testSelectForJoinZendDbTable() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:0
PHP  16. Zend_Db_Table_Select->__toString() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:128
PHP  17. trigger_error() /var/local/zf/library/Zend/Db/Table/Select.php:191
PHP Warning:  Select query cannot join with another table in /var/local/zf/library/Zend/Db/Table/Select.php on line 191
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpunit:0
PHP   2. require() /usr/local/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command::main() /usr/local/lib/php/PHPUnit/TextUI/Command.php:528
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/local/lib/php/PHPUnit/TextUI/Command.php:112
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/TextUI/TestRunner.php:304
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   8. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   9. PHPUnit_Framework_TestSuite->runTest() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:664
PHP  10. PHPUnit_Framework_TestCase->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:684
PHP  11. PHPUnit_Framework_TestResult->run() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:376
PHP  12. PHPUnit_Framework_TestCase->runBare() /usr/local/lib/php/PHPUnit/Framework/TestResult.php:610
PHP  13. PHPUnit_Framework_TestCase->runTest() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:401
PHP  14. ReflectionMethod->invoke() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:476
PHP  15. Zend_Db_Table_Select_TestCommon->testSelectForJoinZendDbTable() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:0
PHP  16. Zend_Db_Table_Select->__toString() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:128
PHP  17. trigger_error() /var/local/zf/library/Zend/Db/Table/Select.php:191
PHP Warning:  Select query cannot join with another table in /var/local/zf/library/Zend/Db/Table/Select.php on line 191
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpunit:0
PHP   2. require() /usr/local/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command::main() /usr/local/lib/php/PHPUnit/TextUI/Command.php:528
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/local/lib/php/PHPUnit/TextUI/Command.php:112
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/TextUI/TestRunner.php:304
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   8. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   9. PHPUnit_Framework_TestSuite->runTest() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:664
PHP  10. PHPUnit_Framework_TestCase->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:684
PHP  11. PHPUnit_Framework_TestResult->run() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:376
PHP  12. PHPUnit_Framework_TestCase->runBare() /usr/local/lib/php/PHPUnit/Framework/TestResult.php:610
PHP  13. PHPUnit_Framework_TestCase->runTest() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:401
PHP  14. ReflectionMethod->invoke() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:476
PHP  15. Zend_Db_Table_Select_TestCommon->testSelectForJoinZendDbTable() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:0
PHP  16. Zend_Db_Table_Select->__toString() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:128
PHP  17. trigger_error() /var/local/zf/library/Zend/Db/Table/Select.php:191
PHP Warning:  Select query cannot join with another table in /var/local/zf/library/Zend/Db/Table/Select.php on line 191
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpunit:0
PHP   2. require() /usr/local/bin/phpunit:44
PHP   3. PHPUnit_TextUI_Command::main() /usr/local/lib/php/PHPUnit/TextUI/Command.php:528
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/local/lib/php/PHPUnit/TextUI/Command.php:112
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/TextUI/TestRunner.php:304
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   7. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   8. PHPUnit_Framework_TestSuite->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:647
PHP   9. PHPUnit_Framework_TestSuite->runTest() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:664
PHP  10. PHPUnit_Framework_TestCase->run() /usr/local/lib/php/PHPUnit/Framework/TestSuite.php:684
PHP  11. PHPUnit_Framework_TestResult->run() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:376
PHP  12. PHPUnit_Framework_TestCase->runBare() /usr/local/lib/php/PHPUnit/Framework/TestResult.php:610
PHP  13. PHPUnit_Framework_TestCase->runTest() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:401
PHP  14. ReflectionMethod->invoke() /usr/local/lib/php/PHPUnit/Framework/TestCase.php:476
PHP  15. Zend_Db_Table_Select_TestCommon->testSelectForJoinZendDbTable() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:0
PHP  16. Zend_Db_Table_Select->__toString() /var/local/zf/tests/Zend/Db/Table/Select/TestCommon.php:128
PHP  17. trigger_error() /var/local/zf/library/Zend/Db/Table/Select.php:191

Comments

Posted by Wil Sinclair (wil) on 2008-04-18T17:13:59.000+0000

Please evaluate and categorize/assign as necessary.

Posted by Mickael Perraud (mikaelkael) on 2008-11-03T10:27:16.000+0000

This has been already fixed by SVN9577

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:15.000+0000

Changing issues in preparation for the 1.7.0 release.

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