sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.11k stars 1.26k forks source link

[BC] KNP Menu Bundle ends up in an uninstallable set of packages #3459

Closed sagikazarmark closed 8 years ago

sagikazarmark commented 8 years ago

Introduced here:

https://github.com/sonata-project/SonataAdminBundle/commit/d9c85b2a76f72e23b861e33d0f67abdc4ea2c963#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780L40

  Problem 1
    - remove sonata-project/admin-bundle 2.4.x-dev|keep sonata-project/admin-bundle dev-master
    - sonata-project/admin-bundle 2.4.x-dev requires knplabs/knp-menu-bundle dev-master -> no matching package found.
    - sonata-project/admin-bundle dev-master requires knplabs/knp-menu-bundle dev-master -> no matching package found.
    - Installation request for sonata-project/admin-bundle ~2.4@dev -> satisfiable by sonata-project/admin-bundle[2.4.x-dev].
sagikazarmark commented 8 years ago

Solution: "knplabs/knp-menu-bundle": "^2.1@dev" in composer.json

pulzarraider commented 8 years ago

We are waiting here for releasing stable version of knplabs/knp-menu-bundle, that supports Sf 3.0. Until it's done you have to specifiy the "knplabs/knp-menu-bundle": "dev-master" in your own composer.json.

sagikazarmark commented 8 years ago

Yeah, that's OK. Just wanted to report it, so that others find the issue quickly. Also, this is a BC breaking scenario, even if it is only true for a short time.

DevMaster112 commented 8 years ago

Same issue. Thanks @sagikazarmark for the fast workaround!

greg0ire commented 8 years ago

knp menu bundle is now compatible with sf3, it seems. Closing.