Kunstmaan / KunstmaanBundlesCMS

An advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.
https://kunstmaancms.be
MIT License
403 stars 187 forks source link

Error on cms-skeleton install 7.1 branch #3384

Closed delboy1978uk closed 6 months ago

delboy1978uk commented 6 months ago

My work colleague was trying to do a fresh Kuma skeleton install using the 7.1 branches in order to verify that he could reproduce the error I reported in https://github.com/Kunstmaan/KunstmaanBundlesCMS/issues/3350 .

However, now, upon the composer install, once it got to clearing cache, the following error occurred:

The service "sensio_framework_extra.controller.listener" has a dependency on a non-existent service "annotation_reader".

So we were unable to get as far as I did in the other issue in order to verify.

acrobat commented 6 months ago

That's because 7.1 still has a dependency on sensio/framework-extra-bundle (this dependency is removed in 7.2 and available in the 7.x branch, see #3378) because it uses annotations. In the default symfony 6.4 framework bundle annotations support is disabled by default, see https://github.com/symfony/recipes/blob/main/symfony/framework-bundle/6.4/config/packages/framework.yaml#L5.

So to make it work you need to switch framework.annotations: true

delboy1978uk commented 6 months ago

thanks for clarifying! :-D