Open gremo opened 7 years ago
Controller injectors warmer does not honor the locations configuration.
locations
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.
any update?
Ping @schmittjoh this problem also affect many Sonata project bundles.
Controller injectors warmer does not honor the
locations
configuration.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.