Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Workflow] Make PropertyAccess required dependency#19849
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
xabbuh commentedSep 5, 2016
👍 Status: Reviewed |
dunglas commentedSep 5, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It's necessary only for default Marking Store implementations. If you use custom implementations, you may not want this package. A |
OndraM commentedSep 5, 2016
@dunglas Hypothetically, yes, however - as a newcomer who wants to use the component, this is either not the best first impression - you install the |
dunglas commentedSep 5, 2016
I've no strong opinion about that. It was just some thought. We have basically 2 possibilities:
|
fabpot commentedSep 5, 2016
Thank you@OndraM. |
This PR was merged into the 3.2-dev branch.Discussion----------[Workflow] Make PropertyAccess required dependency| Q | A| ------------- | ---| Branch? | master (3.2 is not yet released)| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | N/A| Fixed tickets | N/A| License | MIT| Doc PR | N/AHi, when using Workflow as a standalone component (and instantiating new `Workflow()` instance), I'm getting errors like:```PHP Fatal error: Class 'Symfony\Component\PropertyAccess\PropertyAccess' not found in .../workflow-example/vendor/symfony/workflow/MarkingStore/PropertyAccessorMarkingStore.php on line 37```The reason is the PropertyAccessorMarkingStore (and the ScalarMarkingStore as well) [uses](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Workflow/MarkingStore/PropertyAccessorMarkingStore.php#L14) PropertyAccess class. So it is basically not possible to use the component without the symfony/property-access.Is this correct@lyrixx?Commits-------5957412 [Workflow] Make PropertyAccess required dependency
Uh oh!
There was an error while loading.Please reload this page.
Hi, when using Workflow as a standalone component (and instantiating new
Workflow()instance), I'm getting errors like:The reason is the PropertyAccessorMarkingStore (and the ScalarMarkingStore as well)uses PropertyAccess class. So it is basically not possible to use the component without the symfony/property-access.
Is this correct@lyrixx?