Closed
Description
With version 2.5, if I have a form and a constraint with UniqueEntity, the error is not added to the designated form field, but to the main form, errorPath also doesn't work.
Error should be in my case:
Object(Symfony\Component\Form\Form).children[username].data = test
But its:
Object(Symfony\Component\Form\Form).data.data.username = test
I created an example, where the problem exists:
https://github.com/ghostika/symfony-bug
Only composer.install needed and then call the /formtest route
Tried to change the validation API version to 2.5 from my auto value (2.5 bc breaks) but it throw an Exception.