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

Merged
merged 2 commits into from Mar 15, 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 added 3. to review Waiting for reviews feature: sharing labels Mar 14, 2024
@backportbot backportbot bot added this to the Nextcloud 27.1.8 milestone Mar 14, 2024
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 <fenn25.fn@gmail.com>
@susnux
Copy link
Contributor

susnux commented Mar 14, 2024

/compile

@susnux susnux marked this pull request as ready for review March 14, 2024 12:15
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux susnux added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 14, 2024
@susnux
Copy link
Contributor

susnux commented Mar 14, 2024

Drone unrelated, can we force merge? @sorbaugh

@Fenn-CS
Copy link
Contributor

Fenn-CS commented Mar 15, 2024

or someone with permissions can kindly re-run drone? cc : @AndyScherzinger

@sorbaugh sorbaugh merged commit d0f63c9 into stable27 Mar 15, 2024
37 of 38 checks passed
@sorbaugh sorbaugh deleted the backport/44184/stable27 branch March 15, 2024 08:12
@sorbaugh
Copy link
Contributor

Done!

@Altahrim Altahrim mentioned this pull request Mar 21, 2024
5 tasks
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 feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants