-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Toggling Picture and Avatar Configuration switches have no effect #22332
Comments
Bug seems to be in |
@lunny git blame tells it was you the last to touch that |
I Will take a look at it today. Thank you for your report. |
The bug is possibly rooted in PR #22295 there's evidently an hole in testsuite regarding caches |
Unfortunately, go-gitea#22295 introduced a bug that when set a cached system setting, it will not affect. This PR make sure to remove the cache key when updating a system setting. Fix go-gitea#22332
Description
Toggling the Avatar switches in admin/config URL does not change the configuration as requested: reloading the page moves the switches back to their original position.
I verified the request is sent to the server, the request is also logged by the server:
BUT there's no change in the database (PostgreSQL) and reloading the page shows it (switches are back to their original position)
Gitea Version
1.19.0+dev-264-g32e863439 P
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
from build tree. Cannot reproduce on try.gitea.io only because I'm not admin there, but if you grant me admin (strk) I can try
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: