sonata-project/SonataUserBundle — Issue #14: Can't create user from the user Admin form
Author: marc38gt
Created: 2011-11-05 14:03:16+00:00
State: open

Hello,

I had this error : Column 'username_canonical' cannot be null while creating a new user.
I just changed the function preUpdate() to prePersist() in the file UserAdmin.php.
Now it works fine.