-
-
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
enh: Send empty expireDate when not expireDate set #44291
Conversation
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.
Makes sense
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.
Looks like the backend still ignores the empty value and uses the default. So, converted to draft.
Context : #44219 (comment)
cc: @Altahrim
59bfdaa
to
2c2fe01
Compare
Moved the back-end wip-commit here : #44485, so this is ready for review/merge |
2c2fe01
to
f340f0a
Compare
When creating a new share, if the user unchecks "Set expiry date" no `expireDate` is sent to the server. However, the server then assumes the default configured, hence better to send an empty value. Signed-off-by: fenn-cs <[email protected]>
f340f0a
to
d2b0848
Compare
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 / |
Signed-off-by: nextcloud-command <[email protected]>
/backport to stable28 |
/backport to stable27 |
This bug still exists in NC 27.1.9 |
Should be fixed with #44485 |
When creating a new share, if the user unchecks "Set expiry date" no
expireDate
is sent to the server.However, the server then assumes the default configured, hence better to send an empty value.
Resolves : #44219