-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to load invalid (unavailable) CouchDB UniqueEntity validator #1775
Comments
I think this is caused by symfony/symfony#13855, which means that our special validation mapping files are now always loaded by Symfony. We will have to rename the folder indeed |
Indeed, that merge has the same code I traced the issue back to in the FrameworkExtension class. As a temporary fix, I added a dc compiler pass in my own project removing the unwanted xml files in the arguments of the 'addXmlMappings' call to the 'validator.builder' definition. |
* master: Compatiblity with Symfony 2.7. Close FriendsOfSymfony#1775. Update FOSUserBundle.el.yml
See FriendsOfSymfony/FOSUserBundle#1775 for more information.
Symfony version: Symfony 2.7
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.
The text was updated successfully, but these errors were encountered: