symfony/symfony — pull request #4868 by stof (2012-07-11 22:35:56+00:00)
Title: [DoctrineBridge] Added an option to choose the subpath for the violation

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #3866
Todo: -

By default, the UniqueEntityValidator maps the violation on the first
field of the UniqueEntity constraint. The new option allows to control
this behavior if a better mapping is suited.