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: align Example for property access with implementation of Me…#12988

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

Conversation

simon-schubert
Copy link
Contributor

The Implementation in Symfony\Component\Workflow\MarkingStore\MethodMarkingStore does not use symfony/property-access (as the former implementations like e.g. SingleStateMarkingStore did) and requires to have getter/setter implemented in your entity. Therefore the example in docs does not work (any longer). I don't know, why the usage of symfony/property-access was dropped, but it seemed to me not accidentally. That's why I decided to send a PR to update docs. But maybe the implementation is "wrong" and should be changed instead. So please check carefully. Thank you.

@OskarStark
Copy link
Contributor

@lyrixx can you please have a look here? Thanks 🙏

Copy link
Member

@lyrixxlyrixx left a comment

Choose a reason for hiding this comment

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

Indeed, It remove the support via Property Accessor to use a plain PHP Method

OskarStark reacted with thumbs up emoji
@javiereguiluzjaviereguiluz added this to the3.4 milestoneJan 30, 2020
@javiereguiluz
Copy link
Member

@lyrixx I'm going to merge this. I saw that the same change can be done in 3.4 branch. Is that correct ... or does this only work starting from another branch? Thanks!

@lyrixx
Copy link
Member

@javiereguiluz Thanks for seeking :) But nope. It's only for Symfony 4.3 (so 4.4)
ref:https://symfony.com/blog/new-in-symfony-4-3-workflow-improvements#added-a-context-to-workflow-apply

OskarStark reacted with thumbs up emoji

@OskarStarkOskarStark modified the milestones:3.4,4.3Jan 30, 2020
@OskarStarkOskarStark changed the base branch from4.4 to4.3January 30, 2020 10:50
@OskarStarkOskarStarkforce-pushed theworkflow_marking-store_property_example branch fromf295d08 to5272a25CompareJanuary 30, 2020 10:50
@OskarStark
Copy link
Contributor

OskarStark commentedJan 30, 2020
edited
Loading

Thank you Simon and congrats on your first contribution to the Symfony documentation 🎉

lyrixx reacted with thumbs up emoji

OskarStark added a commit that referenced this pull requestJan 30, 2020
…ation of Me… (simon-schubert)This PR was submitted for the 4.4 branch but it was squashed and merged into the 4.3 branch instead (closes#12988).Discussion----------Workflow: align Example for property access with implementation of Me…The Implementation in Symfony\Component\Workflow\MarkingStore\MethodMarkingStore does not use symfony/property-access (as the former implementations like e.g. SingleStateMarkingStore did) and requires to have getter/setter implemented in your entity. Therefore the example in docs does not work (any longer). I don't know, why the usage of symfony/property-access was dropped, but it seemed to me not accidentally. That's why I decided to send a PR to update docs. But maybe the implementation is "wrong" and should be changed instead. So please check carefully. Thank you.Commits-------5272a25 Workflow: align Example for property access with implementation of Me…
@OskarStarkOskarStark merged commit5272a25 intosymfony:4.3Jan 30, 2020
@simon-schubert
Copy link
ContributorAuthor

thank you@OskarStark ,@javiereguiluz and@lyrixx 😄

OskarStark and lyrixx reacted with heart emojiOskarStark and lyrixx reacted with rocket emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@lyrixxlyrixxlyrixx approved these changes

@OskarStarkOskarStarkOskarStark approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
4.3
Development

Successfully merging this pull request may close these issues.

5 participants
@simon-schubert@OskarStark@javiereguiluz@lyrixx@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp