propelorm/Propel2 — pull request #555 by dsoares (2014-02-26 12:41:47+00:00)
Title: Update UniqueValidator.php

```php
$object = $this->context->getRoot();
$className = get_class($object);
```
are not needed because `Symfony\Component\Validator\ExecutionContext` provides a `getClassName()` method. Also, `$this->context->getRoot()` was returning a `Form` object, which does not have the `TABLE_MAP` constant defined.