I can confirm this problem. You can try this workaround:
Add a property to Sonata\UserBundle\Admin\Entity\UserAdmin and edit
the method getUserManager() like this:
class UserAdmin extends Admin
{
protected $userManager;
[...]
public function getUserManager()
{
if (!$this->userManager) {
$this->userManager = $this->configurationPool-
>getContainer()->get('fos_user.user_manager');
}
return $this->userManager;
}
}
This is only a temporary workaround, but it works for me. Please
report back if it works for you, too!
Regards
- Matthias