xmnlab opened a new issue, #19915:
URL: https://github.com/apache/superset/issues/19915
The user activation after the user registration is not working.
#### How to reproduce the bug
1. Go to 'Login'
2. Click on 'Register'
3. Create a new user
4. from the email, activate it
### Expected results
the user registration
### Actual results
it results in an error: "Not possible to register you at the moment, try
again later"
from the console I have this:
```
epigraphhub_1 | 2022-05-01 23:33:34,133:INFO:werkzeug:181.188.176.197 -
- [01/May/2022 23:33:34] "POST /register/form HTTP/1.1" 302 -
epigraphhub_1 | 2022-05-01 23:33:34,413:INFO:werkzeug:181.188.176.197 -
- [01/May/2022 23:33:34] "GET / HTTP/1.1" 302 -
epigraphhub_1 | 2022-05-01 23:33:34,921:WARNING:root:Class
'werkzeug.local.LocalProxy' is not mapped
epigraphhub_1 | 2022-05-01 23:33:34,943:INFO:werkzeug:181.188.176.197 -
- [01/May/2022 23:33:34] "GET /superset/welcome/ HTTP/1.1" 200 -
epigraphhub_1 | 2022-05-01 23:33:45,944:INFO:werkzeug:127.0.0.1 - -
[01/May/2022 23:33:45] "GET /health HTTP/1.1" 200 -
epigraphhub_1 | 2022-05-01
23:33:59,857:ERROR:flask_appbuilder.security.sqla.manager:Error adding new user
to database. Can't flush None value found in collection User.roles
```
#### Screenshots
If applicable, add screenshots to help explain your problem.
### Environment
(please complete the following information):
- browser type and version:
- superset version: `1.4.1`
- python version: `python --version`
- node.js version: `node -v`
- any feature flags active:
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version
of superset.
- 1.5 is not available yet on conda-forge (but it needs first sqloxide and
hashids on conda-forge, I am working on that)
- [x] I have checked the issue tracker for the same issue and I haven't
found one similar.
### Additional context
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]