Skip to content
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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

provokateurin
Copy link
Member

@provokateurin provokateurin commented Jan 15, 2025

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

…he default expiration date

Signed-off-by: provokateurin <[email protected]>
@provokateurin provokateurin added bug 3. to review Waiting for reviews labels Jan 15, 2025
@provokateurin provokateurin added this to the Nextcloud 31 milestone Jan 15, 2025
@provokateurin provokateurin requested review from nfebe, skjnldsv, a team and szaimen and removed request for a team January 15, 2025 09:43
@provokateurin
Copy link
Member Author

/backport to stable30

@provokateurin
Copy link
Member Author

/backport to stable29

@provokateurin
Copy link
Member Author

/backport to stable28

Copy link
Contributor

@nfebe nfebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@provokateurin
Copy link
Member Author

/compile

Signed-off-by: nextcloud-command <[email protected]>
@provokateurin provokateurin marked this pull request as draft January 15, 2025 10:27
@provokateurin
Copy link
Member Author

Draft until test is added.

@provokateurin
Copy link
Member Author

Watch out when backporting to stable28, I saw that there are duplicate mounted() methods!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants