Skip to content

[Workflow] Fixed case when the marking store is not defined #39256

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

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Nov 30, 2020

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #39242
License MIT
Doc PR

Since we are using abstract_arg() in the service definition (where we used null before), and since there is a validation mechanism that ensure all abstract arg are resolved, the container compilation failed.
But if the marking store is not defined (which is legit), we want to fallback on the raw PHP implementation.
That's why, now, I replace the abstract arg by null, and everything seems OK

@xabbuh
Copy link
Member

xabbuh commented Dec 1, 2020

Can we add a test case?

@lyrixx
Copy link
Member Author

lyrixx commented Dec 1, 2020

@xabbuh done

@lyrixx lyrixx merged commit d899f5d into symfony:5.2 Dec 1, 2020
@lyrixx lyrixx deleted the workflow-store branch December 1, 2020 18:57
@fabpot fabpot mentioned this pull request Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants