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

Honor bundles configuration in controller injectors warmer #269

Open
gremo opened this issue Jan 26, 2017 · 2 comments
Open

Honor bundles configuration in controller injectors warmer #269

gremo opened this issue Jan 26, 2017 · 2 comments

Comments

@gremo
Copy link
Contributor

gremo commented Jan 26, 2017

Controller injectors warmer does not honor the locations configuration.

jms_di_extra:
    locations:
        all_bundles: false
        bundles: [AppBundle]
        directories: ["%kernel.root_dir%/../src"]

All directories are scanned (see this line) and this may causes issues with annotations, see SonataUserBundle #686 and SonataClassificationBundle #258.

May be the solution is injecting the locations configuration and filter out the bundles.

@AlmogBaku
Copy link

any update?

@gremo
Copy link
Contributor Author

gremo commented Sep 14, 2017

Ping @schmittjoh this problem also affect many Sonata project bundles.

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

2 participants