Closed
Description
Symfony version: Symfony 2.7
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.
Metadata
Metadata
Assignees
Labels
No labels