-
-
Notifications
You must be signed in to change notification settings - Fork 4.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 the config key on the sharing expire checkbox #24341
Conversation
We don't use `shareapi_internal_enforce_expire_date` anywhere. `shareapi_enforce_internal_expire_date` is the one we want. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
/backport to stable20 |
/backport to stable19 |
/backport to stable18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took you long enough to find my error!
Is this maybe related to #19786? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
Possibly. Do you have a dev instance to check? |
no, sorry |
I looks like the code takes the default sharing date still. Like I disabled the option and I a default expiration date of 7d. So I don't think this changes anything for that ticket. This PR is really just about that one specific checkbox. |
OK, thanks for looking into it anyway. There was a chance 😉 |
The backport to stable18 failed. Please do this backport manually. |
stable18 backport is in #24481 |
We don't use
shareapi_internal_enforce_expire_date
anywhere.shareapi_enforce_internal_expire_date
is the one we want.Regression of #17725.
On master you can't actually set/unset "Enforce expiration date". The js will update some config value, but it's the wrong one. Hence the expiration date was always enforced.