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] fix: No password set for new mail shares #44194

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 14, 2024

Backport of #44184

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.

@backportbot backportbot bot requested review from artonge, susnux and nfebe March 14, 2024 12:14
@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Mar 14, 2024
@backportbot backportbot bot added this to the Nextcloud 28.0.4 milestone Mar 14, 2024
@nfebe nfebe force-pushed the backport/44184/stable28 branch from 34a8f10 to fac28a1 Compare March 14, 2024 12:41
Before the password is set on a new share, the computed property `hasUnsavedPassword`
is used to check that `this.share.newPassword` is not undefined. Direct assignment without
using Vue's `this.$set` makes it impossible for vue to detect that changes have happened on the share
object. Hence the inreactivity.
This worked initially most likely because `this.share.newPassword = await GeneratePassword()` was executed
before the computed properties where evaluated.
Resolves : #43919

Signed-off-by: fenn-cs <[email protected]>
@nfebe nfebe marked this pull request as ready for review March 14, 2024 12:41
@susnux susnux force-pushed the backport/44184/stable28 branch from fac28a1 to 6570f87 Compare March 14, 2024 12:41
@susnux
Copy link
Contributor

susnux commented Mar 14, 2024

/compile

Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe merged commit d72a52e into stable28 Mar 14, 2024
45 checks passed
@nfebe nfebe deleted the backport/44184/stable28 branch March 14, 2024 16:23
@Altahrim Altahrim mentioned this pull request Mar 21, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants