title: Sonata User Bundle Validation Constraints on custom user entity
body: <p>I am trying to use <strong>Sonata User Bundle</strong> and extend the user entity to add some extra relations. 
  I created my own ApplicationSonataUserBundle child bundle as documented here: <a href="http://sonata-project.org/bundles/user/master/doc/reference/installation.html" rel="nofollow">http://sonata-project.org/bundles/user/master/doc/reference/installation.html</a>
  Everything works fine except for form validation.
  I have looked at: <a href="http://symfony.com/doc/current/cookbook/bundles/override.html#override-validation" rel="nofollow">http://symfony.com/doc/current/cookbook/bundles/override.html#override-validation</a></p>
  
  <p>If I understand it correctly I need to do this only if I want to override some constraints. But I would like my entity to inherit all the constraints that are set in FOS User Bundle (which is extended by Sonata User Bundle, which is extended by my own ApplicationSonataUserBundle )</p>
  
  <p>Still when I print my registration form the constraints seem to be ignored.... no unique check on emailCanonical etc, password lengths or anything.</p>
  
  <p>My solution is to create a whole new validation.xml for my extended entity and place it in my ApplicationSonataUserBundle. Is this correct or is there any other way i can inherit the constraints from the extended  <strong>Application\Sonata\UserBundle\Entity\User</strong> that supposedly inherits the constraints from <strong>FOS\UserBundle\Model\User</strong> ?</p>
  
  <p>TIA.</p>