symfony/symfony — pull request #2770 by fabriceb (2011-12-02 14:01:19+00:00)
Title: [Validator] Fixed Unique Entity Validator to not reload current entity from database

Fixed Unique Entity Validator to not reload current entity from database, to avoid strange bugs when used in conjunction with the Translatable extension.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes (phpunit tests/Symfony/Tests/Bridge/Doctrine/Validator/Constraints/UniqueValidatorTest.php)
Fixes the following tickets:
Todo: