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

Correct SchemaManagerFunctionalTestCase::testDropsDatabaseWithActiveConnections() on OracleDB #2254

Merged
merged 1 commit into from
Jan 5, 2016

Conversation

DeepDiver1975
Copy link
Contributor

fixes #2253

@@ -51,10 +52,19 @@ public function testDropsDatabaseWithActiveConnections()

$this->_sm->dropAndCreateDatabase('test_drop_database');

$this->assertContains('test_drop_database', $this->_sm->listDatabases());
$knownDatabases = $this->_sm->listDatabases();
if ($this->_conn->getDatabasePlatform() instanceof OraclePlatform) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This indicates a separate issue inside the OraclePlatform IMO. Shouldn't the uppercase conversion happen in there, if upper case is enforced?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well - the table name is uppercased and all tables are returned uppercase - on the api usage side I see no way to know if upper or lowercase is expected.

but maybe I'm not deep enough in this oracle fun 🙊

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ocramius where do we want to go with this? I'm open for any alternative approarch - let me know ... THX

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is acceptable, given your feedback. /cc @deeky666

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is acceptable, given your feedback. /cc @deeky666

@deeky666 do you agree? Can we merge this? THX

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deeky666 do you agree? Can we merge this? THX

ping

deeky666 added a commit that referenced this pull request Jan 5, 2016
Fix SchemaManagerFunctionalTestCase::testDropsDatabaseWithActiveConnections() on Oracle
@deeky666 deeky666 merged commit 1789f01 into doctrine:master Jan 5, 2016
@deeky666
Copy link
Member

deeky666 commented Jan 5, 2016

The identifier casing issue is not only related to Oracle but I will merge this as is for now. Thanks @DeepDiver1975 !

@deeky666 deeky666 added this to the 2.6 milestone Jan 5, 2016
@DeepDiver1975 DeepDiver1975 deleted the fix-2253 branch January 5, 2016 21:56
@deeky666 deeky666 self-assigned this Jan 5, 2016
@Ocramius Ocramius changed the title Fix SchemaManagerFunctionalTestCase::testDropsDatabaseWithActiveConnections() on Oracle Correct SchemaManagerFunctionalTestCase::testDropsDatabaseWithActiveConnections() on OracleDB Jul 22, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SchemaManagerFunctionalTestCase::testDropsDatabaseWithActiveConnections() fails on OracleDB
3 participants