Skip to content
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

[ResourceBundle] Include sylius_resource classes in metadatalistener #2911

Merged
merged 1 commit into from
Aug 13, 2015

Conversation

winzou
Copy link
Contributor

@winzou winzou commented Jun 22, 2015

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets -
License MIT
Doc PR -

When using ResourceBundle standalone, the classes defined under sylius_resource.resources config are not added to the sylius.config.classes parameter (cf SyliusResourceExtension.php#L49).

But it is this parameter that is injected in the ORMMetadataListener, for assigning repository to their model in Doctrine for example (cf LoadORMMetadataSubscriber.php#L76).

This PR fixes this :)

@Shine-neko
Copy link
Contributor

oh :D 👍

@arnolanglade
Copy link
Contributor

👍

@winzou
Copy link
Contributor Author

winzou commented Jun 24, 2015

Build is green, I don't know what happened to Scrutinizer though.

@winzou
Copy link
Contributor Author

winzou commented Jul 13, 2015

ping @pjedrzejewski

@winzou
Copy link
Contributor Author

winzou commented Jul 16, 2015

@pjedrzejewski is there something wrong with this?

@winzou
Copy link
Contributor Author

winzou commented Aug 13, 2015

ping @pjedrzejewski PR waiting for almost 2 months

pjedrzejewski pushed a commit that referenced this pull request Aug 13, 2015
[ResourceBundle] Include sylius_resource classes in metadatalistener
@pjedrzejewski pjedrzejewski merged commit 22fa8e6 into Sylius:master Aug 13, 2015
@pjedrzejewski
Copy link
Member

@winzou Thank you Alexandre, for the PR and the ping. :D

pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[ResourceBundle] Include sylius_resource classes in metadatalistener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants