-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Workflow] Command workflow:dump not working #43938
Comments
Can you create a small example application that allows to reproduce your issue? |
Here it is: |
I see the problem, when discussing with @StaffNowa on PR #43848 we may have misunderstood ourselves, between workflowNames and workflowIds (with prefix |
Yes, we had before prefixes validation in the switch case. |
…low name and workflow id (noniagriconomie) This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Fix logic in workflow:dump between workflow name and workflow id | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #43938 | License | MIT As described in #43938 (comment) the command need a workflow name as argument, but the array contains workflows ids (prefix `workflow|state_machine`) Commits ------- d043641 [FrameworkBundle] Fix logic in workflow:dump between workflow name and workflow id
Symfony version(s) affected
5.4
Description
I tryed to dump a workflow in Symfony 5.4 and kept getting the Message
No service found for "workflow.xyz" nor "state_machine.xyr".
I tryed to reproduce it in Symfony 5.3 and found that it is working, but got the following warning:
User Deprecated: Since symfony/framework-bundle 5.3: Accessing the "workflow.xyz" service directly from the container is deprecated, use dependency injection instead.
How to reproduce
Create a Workflow in Symfony 5.4 and try to dump it:
https://github.com/ch2877/symfony_issue_43938
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: