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

[Workflow] Document the new transition completed event#8213

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

Closed
izzyp wants to merge1 commit intosymfony:masterfromizzyp:patch-1

Conversation

@izzyp
Copy link
Contributor

@xabbuhxabbuh added this to the3.4 milestoneJul 25, 2017
lyrixx added a commit to symfony/symfony that referenced this pull requestAug 7, 2017
This PR was merged into the 3.4 branch.Discussion----------[Workflow] Add transition completed event| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR |symfony/symfony-docs#8213---Because the "entered" event is the only event dispatched after the new marking is applied, and publish's an event upon entering into a "Place" (as opposed to completing a transition), it is not sufficient for a lot of use cases and is causing bugs.Example:Enabled Transitions:1. A -> B2. B -> C3. C -> BTransition 1 and transition 3, will dispatch an "entered" event on Place B, forcing post transition behaviour to be the same for both transition 1 and 3.A user might need different behaviour depending on the transition, rather the the destination.A concrete use case would be when applying an "undo" transition to a subject. One may or may not want to re-trigger all the events associated with the original transition to that Place.I propose adding a "completed" event (ie. Transition completed) in addition to the entered event.Commits-------c254cac [Workflow] Added an transition completed event
@javiereguiluz
Copy link
Member

@izzyp thanks for adding these docs and congrats on your first Symfony Docs contribution!

javiereguiluz added a commit that referenced this pull requestJan 10, 2018
…zzyp)This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes#8213).Discussion----------[Workflow] Document the new transition completed eventas per PR -symfony/symfony#22587Commits-------b8249ab [Workflow] Document the new transition completed event
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@izzyp@javiereguiluz@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp