Closed xorgxx closed 8 years ago
Looks like your ItemsStatusUpdater
listener performs checks with isGranted()
during the Doctrine persistence lifecycle letting your application fail when there is no security token (for example, on the command-line).
yes, thank. but what can i do to fix this ? go back to symfony 2.3 or maybe extend all controller FosuserBundle.
@xorgxx fix your own code to handle the case where there is no token in the storage. the bug is in your ItemsStatusUpdater, not in FOSUserBundle.
thank. now i know more abort in symfony. i find the probleme in MY CODE and i will fix.
Hi i have probleme with
fos:user:create testuser test@example.com password
eatch time i get this error :My configue :
composer.json
Security.yml
the think very strange is that this
fos:user:promote xorg ROLE_ADMIN
work well. i try to delete all the database and re-create the same probleme, i try commande line in cmd (Admin) the same, try to clear:cache, to restart apache, restart computer [...] style same probleme.can you give same help.
thank's