Skip to content

Unfocus of password input for share link should save password #15431

Closed

Description

@MorrisJobke

Steps to reproduce

  1. Open Sharing UI for a folder
  2. Click "Add Link Share"
  3. Click "Add Password protection"
  4. Enter a password
  5. Leave the sharing UI. Normally all changes in Nextcloud are saved automatically when the input focus ist lost so the user can assume that it's the same with the password
  6. Open sharing UI again to verify that the password is saved -> it looks like the password has been saved correctly
  7. Only after reloading the page you can see that the password is lost (not saved).

Expected behaviour

  • password should be saved

Regression from NC 14. Reproducible in NC 15+

@nextcloud/javascript

Activity

  1. added
    1. to develop
    on May 7, 2019
  2. added this to the Nextcloud 15.0.8 milestone on May 7, 2019
  3. skjnldsv commented on May 8, 2019

    @skjnldsv
    Member
  4. MorrisJobke commented on May 8, 2019

    @MorrisJobke
    MemberAuthor

    Iirc, this was removed on purpose, this is no mistake 🤔

    On the other side there are some security implications if this is not clearly stated, that the unfocus does not save anymore. If people are used to this behavior they could get into trouble. Additionally we do not destroy the input on this close and it looks like the password is set properly when the user reopens the drop down menu.

  5. jancborchardt commented on May 22, 2019

    @jancborchardt
    Member

    Tend to agree with @MorrisJobke here. Changes should be saved automatically.

    (And yeah, adding a "Save" button doesn’t really fix this cause even then people might forget or not see the save button and be frustrated too.)

  6. skjnldsv commented on May 22, 2019

    @skjnldsv
    Member

    Let's go for that then :)

  7. changed the title [-]Unfocus of password input for share link should safe password[/-] [+]Unfocus of password input for share link should save password[/+] on May 22, 2019
  8. skjnldsv commented on Oct 29, 2019

    @skjnldsv
    Member

    Fixed with #15719

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developbugfeature: sharinghighregression

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions