Skip to content

Fixing retrieving metadata examples #11473

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

Closed
wants to merge 4 commits into from
Closed

Conversation

carherco
Copy link

There was no example about retrieving place metadata from the controller. I tried to fixed it as well as the example of retrieving transition metadata. Don't know wether the code I propose is correct. It would need a revision from anybody who knows how it works.

There was no example about retrieving place metadata from the controller. I tried to fixed it as well as the example of retrieving transition metadata. Don't know wether the code I propose is correct. It would need a revision from anybody who knows how it works.
The array key comes from configuration in line 528
@noniagriconomie
Copy link
Contributor

@carherco can you check if your Pr is still relevant on 4.3 doc now ?
Thx

@carherco
Copy link
Author

@noniagriconomie MetadataStoreInterface (https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Workflow/Metadata/MetadataStoreInterface.php) has not changed in 4.3 so this docs should be the same as in 4.2 version.

default value of priority and max_num_of_words are now numbers
@noniagriconomie
Copy link
Contributor

hello @carherco , i meant rebase the PR and see if your addition is still relevant as it is or if it needs rewrite :)

@carherco
Copy link
Author

Sorry, I don't manage well rebase, merge, pull request...

I merged branch 'master' into patch-1, repair conflicts and rewrite some docs.

Then I realised that you asked me to do it not with 'master' but with branch 4.3. I don't know how, but I did a pull request: #11591

I don't know if i am doing things well or not. I hope you are able to manage with the mess I created. Sorry.

@OskarStark OskarStark changed the base branch from master to 4.3 May 23, 2019 07:17
@OskarStark OskarStark changed the base branch from 4.3 to master May 23, 2019 07:17
Copy link
Member

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

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

Perfect 👍
Thanks

@javiereguiluz
Copy link
Member

@carherco thanks for this contribution and we're really sorry it took us so long to merge it. We're trying to merge in the 4.3 branch but we're facing too many issues. Could you please rebase this to the 4.3 branch? If you can't ... we'll create a new pull request for 4.3 with your changes (or, if you want, you can create a new pull request against 4.3 with these changes so you get credit for the contribution). Thanks!

@javiereguiluz
Copy link
Member

Closed in favor of #12360. Thanks!

javiereguiluz added a commit that referenced this pull request Sep 24, 2019
…reguiluz)

This PR was merged into the 4.3 branch.

Discussion
----------

[Workflow] Fixes the examples related to metadata

Fixes #11473. All credit goes to @carherco, who created the original pull request.

Commits
-------

3c94eed [Workflow] Fixes the examples related to metadata
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.

6 participants