title: SonataUserBundle + FOSUserBundle - overriding controllers
body: <p>I'm using SonataUserBundle with FOSUserBundle. 
  in AppKernel.php it looks like this:</p>
  
  <pre><code> new FOS\UserBundle\FOSUserBundle(),
   new Sonata\UserBundle\SonataUserBundle('FOSUserBundle'),
   new Application\Sonata\UserBundle\ApplicationSonataUserBundle(),
  </code></pre>
  
  <p>Some controllers from SonataUserBundle are already overriden.</p>
  
  <p>Now I want to overridee FOSUserBundle ChangePasswordController. So I made:
  src/Application/FOS/UserBundle/Controller/ChangePasswordController.php
  src/Application/FOS/UserBundle/ApplicationFOSUserBundle.php</p>
  
  <pre><code>&lt;?php
  namespace Application\FOS\UserBundle;
  
  use Symfony\Component\HttpKernel\Bundle\Bundle;
  
  class ApplicationFOSUserBundle extends Bundle
  {
      /**
      * {@inheritdoc}
      */
      public function getParent()
      {
          return 'FOSUserBundle';
      }
  }
  </code></pre>
  
  <p>as well as modified AppKernel.php</p>
  
  <pre><code> new FOS\UserBundle\FOSUserBundle(),
   new Application\FOS\UserBundle\FOSUserBundle(),
   new Sonata\UserBundle\SonataUserBundle('FOSUserBundle'),
   new Application\Sonata\UserBundle\ApplicationSonataUserBundle(),
  </code></pre>
  
  <p>The problem is... it's not working correctly. </p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'LogicException' with message 'Bundle "FOSUserBundle" is directly extended by two bundles "SonataUserBundle" and "ApplicationFOSUserBundle".' in /home/piotr.gawlowski/dev_dash_devel/dev-dash/app/bootstrap.php.cache on line 2364
    ( ! ) LogicException: Bundle "FOSUserBundle" is directly extended by two bundles "SonataUserBundle" and "ApplicationFOSUserBundle". in /home/piotr.gawlowski/dev_dash_devel/dev-dash/app/bootstrap.php.cache on line 2364</p>
  </blockquote>