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] Added more events to the announce function#23299

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
Nyholm wants to merge3 commits intosymfony:masterfromNyholm:issue-23275

Conversation

@Nyholm
Copy link
Member

@NyholmNyholm commentedJun 25, 2017
edited
Loading

QA
Branch?3.2
Bug fix?yes/no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#23275
LicenseMIT
Doc PR#8087

This PR willfix#23275

The documentation states that we dispatch eventsworkflow.announce andworkflow.[name].announce. It was me who wrongly added it to the docs... sorry about that.

We could either: Change the docs or add these events. I choose to add these event to the source since the same events are dispatched for "guard", "leave", "transition", "enter" and "entered".

Copy link
Contributor

@ostroluckyostrolucky left a comment
edited
Loading

Choose a reason for hiding this comment

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

Even if you chose the code change, remember that docs need to be updated, because they currently state "announce: Triggered once for each workflow that now is available for the object."

@Nyholm
Copy link
MemberAuthor

Thank you@ostrolucky for your review. I will send a PR to the docs.

Also, we need to make sure we do not "announce" before the guard events. The guard events may block the transition.

@Nyholm
Copy link
MemberAuthor

Sorry, I was wrong in my last comment and commit. I reverted it, the PR is now unchanged since you reviewed it.

I made a small PR to the docs to address the issue@ostrolucky highlighted.

@lyrixx
Copy link
Member

Thanks for fixing this bug@Nyholm.

lyrixx added a commit that referenced this pull requestJun 26, 2017
…olm)This PR was submitted for the master branch but it was merged into the 3.2 branch instead (closes#23299).Discussion----------[Workflow] Added more events to the announce function| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | yes/no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#23275| License       | MIT| Doc PR        |#8087This PR willfix#23275The documentation states that we dispatch events `workflow.announce` and `workflow.[name].announce`. It was me who wrongly added it to the docs... sorry about that.We could either: Change the docs or add these events. I choose to add these event to the source since the same events are dispatched for "guard", "leave", "transition", "enter" and "entered".Commits-------c5042f3 [Workflow] Added more events to the announce function
@lyrixx
Copy link
Member

I merged this PR in the 3.2 branch instead of master.

@lyrixxlyrixx closed thisJun 26, 2017
@Nyholm
Copy link
MemberAuthor

Thank you for merging.

This was referencedJul 4, 2017
xabbuh added a commit to symfony/symfony-docs that referenced this pull requestJul 4, 2017
This PR was submitted for the 3.3 branch but it was merged into the 3.2 branch instead (closes#8087).Discussion----------[Workflow] Updated language for annouce eventRelated tosymfony/symfony#23299Commits-------9b6dce4 Updated language for annouce event
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lyrixxlyrixxlyrixx approved these changes

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@ostroluckyostroluckyostrolucky requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Workflow] Announcing doesn't work as advertised

5 participants

@Nyholm@lyrixx@ostrolucky@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp