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

[stable28] enh: Send empty expireDate when not expireDate set #44490

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 26, 2024

Backport of #44291

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Copy link
Contributor

@emoral435 emoral435 left a comment

Choose a reason for hiding this comment

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

Also just needs a compile :)

@emoral435
Copy link
Contributor

/compile

@emoral435
Copy link
Contributor

now just needs to update commit message and update message :)

@nfebe nfebe marked this pull request as ready for review March 26, 2024 17:08
@skjnldsv skjnldsv mentioned this pull request Mar 28, 2024
@nfebe nfebe force-pushed the backport/44291/stable28 branch from 5dc1913 to c616dff Compare April 15, 2024 21:52
@nfebe
Copy link
Contributor

nfebe commented Apr 15, 2024

/compile amend

@nextcloud-command nextcloud-command force-pushed the backport/44291/stable28 branch from c616dff to 4a6f904 Compare April 15, 2024 22:01
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 <fenn25.fn@gmail.com>

[skip ci]
@nfebe nfebe force-pushed the backport/44291/stable28 branch from 4a6f904 to 713f266 Compare April 16, 2024 08:51
@nfebe
Copy link
Contributor

nfebe commented Apr 16, 2024

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe nfebe enabled auto-merge April 16, 2024 09:21
@nfebe nfebe merged commit cab9fc2 into stable28 Apr 16, 2024
45 checks passed
@nfebe nfebe deleted the backport/44291/stable28 branch April 16, 2024 09:45
@Altahrim Altahrim mentioned this pull request Apr 17, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants