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

[DoctrineBridge] Fix theLockStoreSchemaListener#57944

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
nicolas-grekas merged 1 commit intosymfony:6.4fromMatTheCat:ticket_54406
Aug 13, 2024

Conversation

@MatTheCat
Copy link
Contributor

@MatTheCatMatTheCat commentedAug 8, 2024
edited
Loading

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#54406
LicenseMIT

#54407 got sidetrackedand@barton-webwings seems no longer active on GitHub so this PR takes over.

barton-webwings and uwej711 reacted with thumbs up emoji
@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "7.2" but it seems your PR description refers to branch "6.4".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

$subscriber->postGenerateSchema($event);
}

publicfunctiontestPostGenerateSchemaWithInvalidLockStore()
Copy link
Member

Choose a reason for hiding this comment

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

Maybe I'm a bit late to the party and missed an important part of the discussion of the previous PR. But… could you recap why wedelete a test for a bugfix? I would've expected anew test instead that covers the bug that we want to fix.

Copy link
Member

Choose a reason for hiding this comment

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

@MatTheCat wrote done his reasoning here:#54407 (comment)

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

(I updated thetestPostGenerateSchemaLockPdo so that it would fail.)

Copy link
ContributorAuthor

@MatTheCatMatTheCatAug 8, 2024
edited
Loading

Choose a reason for hiding this comment

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

You can seetestPostGenerateSchemaWithInvalidLockStore is wrong because the function creating the generator isstatic, but its body is using$this. That means it only passes because the generator is not started and theLockStoreSchemaListener does not get any store.

@MatTheCatMatTheCatforce-pushed theticket_54406 branch 2 times, most recently fromf356e02 to5b05c10CompareAugust 8, 2024 10:58
@nicolas-grekasnicolas-grekas modified the milestones:7.2,6.4Aug 12, 2024
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

alexandre-daubois reacted with thumbs up emoji
@nicolas-grekas
Copy link
Member

Thank you@MatTheCat.

@nicolas-grekasnicolas-grekas merged commitd5f7171 intosymfony:6.4Aug 13, 2024
@MatTheCatMatTheCat deleted the ticket_54406 branchAugust 13, 2024 11:06
This was referencedAug 30, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@derrabusderrabusderrabus left review comments

@xabbuhxabbuhxabbuh left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

[DoctrineBridge] LockStoreSchemaListener not working properly

5 participants

@MatTheCat@carsonbot@nicolas-grekas@derrabus@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp