UniqueEntityValidator is not compatible with the non-BC 2.5 Validation API because `addViolationAt` method is used (line 139). This exception is thrown: `addViolationAt() is not supported anymore as of Symfony 2.5. Please use buildViolation() instead or enable the legacy mode.`