sonata-project/SonataUserBundle — pull request #271 by leoroos (2013-10-25 16:41:35+00:00)
Title: This would solve the problem when using the current FOSUserBundle 2.x

Using SonataUserBundle with FOSUserBundle 2.x causes

[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
Unable to replace alias "fos_user.profile.form" with "sonata.user.authentic
ation.form".

This naive adjustment seems to solve the problem.

I cannot use the approach to alias FUB 1.3 as dev-master in my composer.json file, since I want to use it with the SecurityHandler Support.

Are there any consideration to provide a version that supports FOSUserBundle 2.x?