Uh oh!
There was an error while loading. Please reload this page.
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>
ChristophWurst
commented
Nov 24, 2020
/backport to stable20 |
ChristophWurst
commented
Nov 24, 2020
/backport to stable19 |
ChristophWurst
commented
Nov 24, 2020
/backport to stable18 |
rullzer
left a comment
There was a problem hiding this comment.
Took you long enough to find my error!
wiswedel
commented
Nov 24, 2020
Is this maybe related to #19786? |
ChristophWurst
commented
Nov 24, 2020
Possibly. Do you have a dev instance to check? |
wiswedel
commented
Nov 24, 2020
no, sorry |
ChristophWurst
commented
Nov 24, 2020
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. |
wiswedel
commented
Nov 24, 2020
OK, thanks for looking into it anyway. There was a chance 😉 |
The backport to stable18 failed. Please do this backport manually. |
MorrisJobke
commented
Dec 1, 2020
stable18 backport is in #24481 |
We don't use
shareapi_internal_enforce_expire_dateanywhere.shareapi_enforce_internal_expire_dateis 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.