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

[stable27] Fix undefined share object during expirationDate update #43686

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 20, 2024

Backport of #43661

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

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove [skip ci] tag

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

@backportbot backportbot bot added this to the Nextcloud 27.1.7 milestone Feb 20, 2024
@Fenn-CS Fenn-CS marked this pull request as ready for review February 20, 2024 12:09
@Fenn-CS
Copy link
Contributor

Fenn-CS commented Feb 20, 2024

/compile

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 20, 2024
@solracsf solracsf mentioned this pull request Feb 20, 2024
9 tasks
@skjnldsv skjnldsv mentioned this pull request Feb 21, 2024
Fenn-CS and others added 2 commits February 21, 2024 09:54
In 04e8733 a regression was introduced.

`this` means nothing inside arrow functions, hence this.share was referring to

an undefined object and so all attempted updates for expiration dates would fail.

Resolves : #43256

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@skjnldsv skjnldsv merged commit 9d7abdd into stable27 Feb 22, 2024
36 of 38 checks passed
@skjnldsv skjnldsv deleted the backport/43661/stable27 branch February 22, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish 28-feedback feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants