I am trying to configure MongoDB to work in a different folder from the 
default and would like to know if the following configuration is correct, 
because it is not working as it should.

# Doctrine Configuration
doctrine_mongo_db:
    document_managers:
        default:
            mappings:
                UserBundle: { type: annotation, dir: Entity/ }


this is the error that i got:

Class App\UserBundle\Entity\User is not a valid document or mapped super 
class.
500 Internal Server Error - MongoDBException


So, anyone can help to find why this configuration is not working?


ps.: if i use the default configuration, everything works fine.


thanks

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to