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

All services are broken (dev-master) #266

Closed
adadgio opened this issue Jan 18, 2017 · 8 comments
Closed

All services are broken (dev-master) #266

adadgio opened this issue Jan 18, 2017 · 8 comments

Comments

@adadgio
Copy link

adadgio commented Jan 18, 2017

I just did a composer update yesterday, and I use jms/di-extra-bundle from dev- master.

On cache clear, ALL services defined with @di\Service are broken (Symfony...\ServiceNotFoundException).

I've not beeing changin any service definition for over a year. Any chance something bad happened recently on this repository ?

@goetas
Copy link

goetas commented Jan 18, 2017

Please check which other dependencies have been updated comparing your composer.lock file

@alecszaharia
Copy link

For me it stopped working after I updated the sonata-project/admin-bundle to 3.11.0..
It works fine with sonata-project/admin-bundle 3.10.3

@gagaXD
Copy link

gagaXD commented Jan 26, 2017

Same here, since I upgrade sonata-project/admin-bundle to 3.11.0, all my services are broken.

@Nightbr
Copy link

Nightbr commented Jan 26, 2017

Same here... I tried to use "jms/di-extra-bundle": "^1.7" but the problem still persist...

My workaround so far: "sonata-project/admin-bundle": "3.10.*"

@anboo
Copy link

anboo commented Jan 30, 2017

Same problem.
Now it is dangerous to use this bundle.

@Nightbr
Copy link

Nightbr commented Jan 30, 2017

Hey @anboo, you mean JmsDIExtraBundle or SonataAdminBundle is dangerous to use ?

@adadgio
Copy link
Author

adadgio commented Jan 30, 2017

Ok so this is not a JMS DI Extra Bundle issue, i think this should be closed.

@adadgio
Copy link
Author

adadgio commented Feb 27, 2017

Here are the fixes !! (both references are actually the same issue, first one is quicker to read.

sonata-project/SonataAdminBundle#4349 (comment)

sonata-project/SonataAdminBundle#4292 (comment)

In short, add this to your jsm_di_extra config:

jms_di_extra:
   annotation_patterns:
      - "JMS\\DiExtraBundle\\Annotation"

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

No branches or pull requests

6 participants