Closed alejots closed 10 years ago
sonata-project/user-bundle 2.0 has fosub 1.2 as dependency and the factories was introduced with fosub 2.0
Thanks @leopro for your quick answer. I tried with
"friendsofsymfony/user-bundle": "2.0.@dev", "sonata-project/user-bundle": "dev-master", "pugx/multi-user-bundle": "2.0.@dev"
But I get this
Problem 1
do you know if is possible to have a correct composer.json file configuration with the factories?
Or is better work in other way to do the Customer, Seller and Admin user management?
So, latest version of multiUserBundle and UserBundle are not compatible, right?
Is there any news in this issue? If multiUserBundle and UserBundle are not compatible it's a very sad news...
Infact latest version of SonataUserBundle requires FOSUserBundle: ~1.3
which is not compatible with latest PUGXMultiUserBundle
yes @broncha the branch 2.0 (and for now master branch) require fosub 2.0.x-dev but sonata are still using fosub 1.3, as far as I know
Hi all you guys!!
I need to implementate a Customer, Seller and Admin user management. After search in different forums I found the PUGXMultiUserBundle and after read this solve issue https://github.com/PUGX/PUGXMultiUserBundle/issues/12 I had some hopes for do this with SonataUserBundle.
So, I have tried to adapt the PUGXMultiUserBundle with Sonata but I always get some problems with the composer update. If I use the next configuration on my composer.json file I get ' The service definition "fos_user.registration.form.factory" does not exist.'
"php": ">=5.3.3", "symfony/symfony": "2.2.", "doctrine/orm": "~2.2,>=2.2.3", "doctrine/doctrine-bundle": "1.2.", "twig/extensions": "1.0.", "symfony/assetic-bundle": "2.1.", "symfony/swiftmailer-bundle": "2.2.", "symfony/monolog-bundle": "2.2.", "sensio/distribution-bundle": "2.2.", "sensio/framework-extra-bundle": "2.2.", "sensio/generator-bundle": "2.2.", "jms/security-extra-bundle": "1.4.", "jms/di-extra-bundle": "1.3.", "doctrine/doctrine-fixtures-bundle": "dev-master", "doctrine/data-fixtures": "dev-master", "knplabs/knp-menu": "v1.1.2", "knplabs/knp-menu-bundle": "1.1.x-dev", "friendsofsymfony/user-bundle": "", "sonata-project/intl-bundle":"", "sonata-project/cache-bundle":"", "sonata-project/admin-bundle": "", "sonata-project/user-bundle": "~2.0@dev", "sonata-project/media-bundle": "dev-master", "sonata-project/doctrine-orm-admin-bundle": "2.2.x-dev", "simplethings/entity-audit-bundle":"@dev"
But If I change the composer.json file following the recommendation in https://github.com/PUGX/PUGXMultiUserBundle/issues/21
{ "require": { "friendsofsymfony/user-bundle": "2.0.@dev", "pugx/multi-user-bundle": "2.0.@dev" } }
When I run the composer update then I get the next problems
Problem 1
Potential causes:
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Do you have any idea if is possible to integrate the PUGXMultiUserBundle with SonataUserBundle?
I really will appreciate your help, Thanks for your time