Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't edit user / devise #3110

Closed
franklindch opened this issue Feb 14, 2019 · 4 comments
Closed

Can't edit user / devise #3110

franklindch opened this issue Feb 14, 2019 · 4 comments

Comments

@franklindch
Copy link

franklindch commented Feb 14, 2019

Error on edit the user in rails_admin for one of his field : PG::NotNullViolation: ERROR: null value in column "encrypted_password" violates not-null constraint. This encrypted password field by devise is however optional.
Any change made lately on the gem?
Thanks !

@VincentSim
Copy link

Yes you have to downgrade to a prior version of devise to be supported (i.e. devise 4.5.0)
in your gemfile :

gem 'devise', '~> 4.4', '< 4.6'

@sferik I think it is on your roadmap to fix it :)

@franklindch
Copy link
Author

Thanks Vincent indeed this solved the pb ! @sferik any thought?

@dzirtusss
Copy link

dzirtusss commented Mar 15, 2019

image

Now this becoming a more PITA issue, since 4.5.0 has security issues and 4.6.0+ does not work

as well CC thread from Devise heartcombo/devise#5033

@mshibuya
Copy link
Member

mshibuya commented May 2, 2019

Fixed by 72bc037.

@mshibuya mshibuya closed this as completed May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants