Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Lock] Use platform to identify the PDO driver#43281

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
derrabus merged 1 commit intosymfony:5.4fromJean85:fix-lock-dbal-driver
Oct 4, 2021

Conversation

@Jean85
Copy link
Contributor

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#43048
LicenseMIT

This should fix the issue in the same way we did for#42011. I'm not sure if I should add/change any test...

Copy link
Member

@jderussejderusse left a comment

Choose a reason for hiding this comment

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

This PR revert what have been done in7eca3a5#diff-98857ac5bb047b333495db5092ea4b875924022056c5b5522d7ecb224fac5f6f

@nicolas-grekas do you remember why you changed this in a merge commit?

Copy link
Member

@jderussejderusse left a comment
edited
Loading

Choose a reason for hiding this comment

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

Regarding the@derrabus comment, this PRbrings nothing but introduce a future deprecation for upcoming Doctrine 3.2

I'm 👎 for this change

edit: this PR fixes the issue referenced in the description

@stof
Copy link
Member

stof commentedOct 2, 2021

@jderusse this PR fixes compatibility with driver decorators (inspecting the driver class to find the target platform is a mistake). See the ticket referenced in the issue description, which describes precisely such a bug.

@jderusse
Copy link
Member

@jderusse this PR fixes compatibility with driver decorators (inspecting the driver class to find the target platform is a mistake). See the ticket referenced in the issue description, which describes precisely such a bug.

Still..getName will be removed in the next major version (doctrine/dbal#4763) fixing the issue by introducing a dependency with a (soon) deprecated method is not the right way to fix the issue IMHO.

chalasr reacted with thumbs up emoji

@chalasr
Copy link
Member

I agree, seems worth trying to fix this usinginstanceof checks on the platform instance instead so we don't have to revisit this too soon.

@Jean85
Copy link
ContributorAuthor

I've changed the approach to use theinstanceof on the platforms.

@derrabus
Copy link
Member

Thank you@Jean85.

@derrabusderrabus merged commit72cd43a intosymfony:5.4Oct 4, 2021
@Jean85Jean85 deleted the fix-lock-dbal-driver branchOctober 5, 2021 07:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

@derrabusderrabusderrabus approved these changes

@jderussejderusseAwaiting requested review from jderussejderusse is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

PostgreSqlStore breaks Sentry usage due to hard-coded instanceof checks.

7 participants

@Jean85@stof@jderusse@chalasr@derrabus@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp