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

[Scheduler] Postpone schedule creation#51138

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
fabpot merged 1 commit intosymfony:6.3fromHypeMC:postpone-schedule-creation
Jul 29, 2023

Conversation

@HypeMC
Copy link
Member

QA
Branch?6.3
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#51112
LicenseMIT
Doc PR-

The issue is caused by theMessengerTransportDoctrineSchemaListener which is triggered whendoctrine:schema:create is run. Itinstantiates all transports which causes theScheduleProviderInterface::getSchedule() method to be called, but since the schema is not yet created, everything breaks.

This PR changes theMessageGenerator class to accept theScheduleProviderInterface instead of onlySchedule. That way the call togetSchedule() can be postponed to when it's really needed, and since theShedule class implements theScheduleProviderInterface, there's no breaking change.

mrossard reacted with thumbs up emoji
"doctrine/dbal":"^2.13.1|^3.0",
"doctrine/orm":"^2.12",
"dragonmantank/cron-expression":"^3",
"dragonmantank/cron-expression":"^3.1",
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Sync up withsrc/Symfony/Component/Scheduler/composer.json, lowest deps fail otherwise.

Copy link
Member

@kbondkbond left a comment

Choose a reason for hiding this comment

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

Thanks@HypeMC, this makes sense to me.

@fabpot
Copy link
Member

Thank you@HypeMC.

@fabpotfabpot merged commite9413c7 intosymfony:6.3Jul 29, 2023
@HypeMCHypeMC deleted the postpone-schedule-creation branchJuly 29, 2023 18:10
@fabpotfabpot mentioned this pull requestJul 30, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@kbondkbondkbond approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.3

Development

Successfully merging this pull request may close these issues.

4 participants

@HypeMC@fabpot@kbond@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp