Skip to content

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

Merged
nfebe merged 2 commits into
stable28from
backport/44291/stable28
Apr 16, 2024
Merged

[stable28] enh: Send empty expireDate when not expireDate set#44490
nfebe merged 2 commits into
stable28from
backport/44291/stable28

Conversation

@backportbot

@backportbotbackportbotBot commented Mar 26, 2024

Copy link
Copy Markdown

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.

@emoral435emoral435 left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

/compile

@emoral435

Copy link
Copy Markdown
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
@skjnldsvskjnldsv mentioned this pull request Mar 28, 2024
@nfebe
nfebeforce-pushed the backport/44291/stable28 branch from 5dc1913 to c616dffCompareApril 15, 2024 21:52
@nfebe

Copy link
Copy Markdown
Contributor

/compile amend

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
nfebeforce-pushed the backport/44291/stable28 branch from 4a6f904 to 713f266CompareApril 16, 2024 08:51
@nfebe

Copy link
Copy Markdown
Contributor

/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 stable28Apr 16, 2024
@nfebe
nfebe deleted the backport/44291/stable28 branch April 16, 2024 09:45
@AltahrimAltahrim mentioned this pull request Apr 17, 2024
5 tasks
Sign up for freeto 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

@emoral435@nfebe@skjnldsv@nextcloud-command