Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests are failing on OracleDB #2250

Closed
DeepDiver1975 opened this issue Dec 11, 2015 · 1 comment · Fixed by #2263
Closed

Unit tests are failing on OracleDB #2250

DeepDiver1975 opened this issue Dec 11, 2015 · 1 comment · Fixed by #2263

Comments

@DeepDiver1975
Copy link
Contributor

Will submit patch ....

PHP Fatal error:  Cannot use object of type Doctrine\DBAL\Schema\Table as array in /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/AbstractAsset.php on line 158
PHP Stack trace:
PHP   1. {main}() /tmp/ide-phpunit.php:0
PHP   2. IDE_Base_PHPUnit_TextUI_Command::main() /tmp/ide-phpunit.php:582
PHP   3. PHPUnit_TextUI_Command->run() /tmp/ide-phpunit.php:294
PHP   4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/deepdiver/Development/phpunit.phar/phpunit/TextUI/Command.php:153
PHP   5. PHPUnit_Framework_TestSuite->run() phar:///home/deepdiver/Development/phpunit.phar/phpunit/TextUI/TestRunner.php:406
PHP   6. PHPUnit_Framework_TestCase->run() phar:///home/deepdiver/Development/phpunit.phar/phpunit/Framework/TestSuite.php:722
PHP   7. PHPUnit_Framework_TestResult->run() phar:///home/deepdiver/Development/phpunit.phar/phpunit/Framework/TestCase.php:699
PHP   8. PHPUnit_Framework_TestCase->runBare() phar:///home/deepdiver/Development/phpunit.phar/phpunit/Framework/TestResult.php:609
PHP   9. PHPUnit_Framework_TestCase->runTest() phar:///home/deepdiver/Development/phpunit.phar/phpunit/Framework/TestCase.php:743
PHP  10. ReflectionMethod->invokeArgs() phar:///home/deepdiver/Development/phpunit.phar/phpunit/Framework/TestCase.php:866
PHP  11. Doctrine\Tests\DBAL\Functional\WriteTest->testEmptyIdentityInsert() phar:///home/deepdiver/Development/phpunit.phar/phpunit/Framework/TestCase.php:866
PHP  12. Doctrine\DBAL\Schema\OracleSchemaManager->dropTable() /home/deepdiver/Development/ownCloud/doctrine2/dbal/tests/Doctrine/Tests/DBAL/Functional/WriteTest.php:265
PHP  13. Doctrine\DBAL\Schema\AbstractSchemaManager->tryMethod() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php:337
PHP  14. call_user_func_array:{/home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php:97}() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php:97
PHP  15. Doctrine\DBAL\Schema\OracleSchemaManager->dropAutoincrement() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php:97
PHP  16. Doctrine\DBAL\Platforms\OraclePlatform->getDropAutoincrementSql() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/OracleSchemaManager.php:324
PHP  17. Doctrine\DBAL\Platforms\OraclePlatform->normalizeIdentifier() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Platforms/OraclePlatform.php:556
PHP  18. Doctrine\DBAL\Schema\Identifier->__construct() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Platforms/OraclePlatform.php:582
PHP  19. Doctrine\DBAL\Schema\AbstractAsset->_setName() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/Identifier.php:41
PHP  20. Doctrine\DBAL\Schema\AbstractAsset->isIdentifierQuoted() /home/deepdiver/Development/ownCloud/doctrine2/dbal/lib/Doctrine/DBAL/Schema/AbstractAsset.php:62

Process finished with exit code 255
DeepDiver1975 added a commit to DeepDiver1975/dbal that referenced this issue Dec 11, 2015
DeepDiver1975 added a commit to DeepDiver1975/dbal that referenced this issue Dec 16, 2015
@deeky666 deeky666 added this to the 2.6 milestone Jan 6, 2016
@deeky666 deeky666 self-assigned this Jan 6, 2016
DeepDiver1975 added a commit to DeepDiver1975/dbal that referenced this issue Jan 7, 2016
bburnichon pushed a commit to bburnichon/dbal that referenced this issue Jun 16, 2016
@Ocramius Ocramius changed the title Unit tests failing on Oracle .... Unit tests are failing on OracleDB Jul 22, 2017
@github-actions
Copy link

github-actions bot commented Aug 4, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants