-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix error when reading empty authtoken names from db #30801
Conversation
Not sure if this is the right path to go - we explicitly disallowed empty tokens to be entered in the frontend (which makes sense). Alternative should rather be to provide a proper migration when upgrading? |
@patrickjahns Were empty names allowed in the version before? |
Title is missleading |
@DeepDiver1975 better? |
@PVince81 I think @patrickjahns has a point, what do you think? |
Ok for a migration so no code workaround needed. I just found it weird that we validate the token data even after reading from the DB. |
It`s probably because the DB layer is using same setters when populating objects from db |
Will create a migration then |
@IljaN |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue: #30792