You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempted to load class "UniqueEntity" from namespace
"\Symfony\Component\Validator\Constraints\Doctrine\Bundle\CouchDBBundle\Validator\Constraints".
Did you forget a "use" statement for "Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity"?
Calling the register form, the metadata for the user document is created and the metadata loader somehow also loads the couchDB validation constraints. Which aren't present and the loader adds the default validator prefix to the classname declaration. Hence: Symfony\Component...\Doctrine\Bundle...
It seems that the loader behaviour in Symfony2 has changed and also reads all xml files in the validation folder by default. Changing the Resources/config/validation folder would fix the problem.