Skip to content

Cancelling the password dialog during a link type change shows the new type anyway #3671

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Cancelling the password dialog during a link type change shows the new type anyway. Cause: packages/web-app-files/src/components/SideBar/Shares/Links/ListItem.vue:112 sets the type before the dialog and never resets it (:115-117).

Reproduction Steps

  1. As admin, remove the password of a "Can view" link.
  2. Change its type to "Can edit"; the password dialog opens.
  3. Close it.

Expected Outcome

The link still shows "Can view".

Actual Outcome

It shows "Can edit" while the server still has a view link without password.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions