Ccdn_user_security (mappingexception)
Replies: 15   Views: 3641  Subscribers: 5

Posted by zorg · 27-04-2013 - 08:43

Edited by zorg · 27-04-2013 - 11:11
i just update Symfony to 2.2.1, i have FOsUserBundle 2.0, and ccdn_user_security master.

i have this error :

MappingException: The class 'app\UserBundle\Entity\User' was not found in the chain configured namespaces CCDNUser\SecurityBundle\Entity

can you help?

thank

i just change this :
        auto_generate_proxy_classes: "%kernel.debug%"
        auto_mapping: true
#        default_entity_manager: default
#        auto_generate_proxy_classes: "%kernel.debug%"
#        entity_managers:
#            default:
#                mappings:
#                    CCDNUserSecurityBundle:
#                        mapping:              true
#                        type:                 yml
#                        dir:                  "Resources/config/doctrine"
#                        alias:                ~
#                        prefix:               CCDNUser\SecurityBundle\Entity
#                        is_bundle:            true

in app/config/config.yml and now see to work well.­