-
-
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(files_sharing): Stop overwriting the share expiration date with the default expiration date #50192
fix(files_sharing): Stop overwriting the share expiration date with the default expiration date #50192
Conversation
/backport to stable30 |
/backport to stable29 |
/backport to stable28 |
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.
LGTM
/compile |
Draft until test is added. |
Watch out when backporting to stable28, I saw that there are duplicate |
…he default expiration date Signed-off-by: provokateurin <[email protected]>
This should be done as soon as changed, as the value is not passed to API but needs to be tracked internally (e.g. if you quickly press "save"). Signed-off-by: Ferdinand Thiessen <[email protected]>
b976221
to
b55c337
Compare
Tests added, needed to fix another bug otherwise test would fail. |
b55c337
to
6ef6610
Compare
Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
6ef6610
to
ddd70c9
Compare
Summary
If the admin has a default expiration date configured the share expiration date is overwritten every time, even if a different expiration date was selected for the share.
Removing this doesn't cause any problems when creating a new share with the default expiration date, since the date is added in the backend automatically.
Introduced in #49115 and slightly adjusted in #49147.
Checklist