Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented May 23, 2024

Backport of #44485

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.

@nfebe nfebe marked this pull request as ready for review May 23, 2024 15:15
@nfebe nfebe requested a review from provokateurin as a code owner May 23, 2024 15:15
@nfebe nfebe enabled auto-merge May 23, 2024 15:15
@AndyScherzinger AndyScherzinger force-pushed the backport/44485/stable29 branch from 820f954 to c00e394 Compare May 27, 2024 10:04
@nfebe nfebe linked an issue May 27, 2024 that may be closed by this pull request
@nfebe nfebe force-pushed the backport/44485/stable29 branch 3 times, most recently from 29630de to ae4a18f Compare May 29, 2024 10:37
nfebe added 3 commits May 29, 2024 12:58
If `expireDate` is an empty string and not `null` then the server should not set a default.

Signed-off-by: fenn-cs <[email protected]>
- Verify that explicitly sending empty `expireDate` param to server overwrite default

and sets not expiry date, if non is enforced.

- Update tests to avoid converting empty string to date.

Signed-off-by: fenn-cs <[email protected]>
@nfebe nfebe force-pushed the backport/44485/stable29 branch from ca40ae8 to bd9e2f1 Compare May 29, 2024 11:59
@nfebe nfebe requested a review from Antreesy May 31, 2024 10:18
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Code matches original PR + fix

@nfebe nfebe merged commit 806e390 into stable29 May 31, 2024
@nfebe nfebe deleted the backport/44485/stable29 branch May 31, 2024 12:12
@nfebe
Copy link
Contributor

nfebe commented May 31, 2024

/backport to stable28

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.

Default share expiration cannot be removed when creating a share

4 participants