Skip to content

[Bug]: Sharing menu state not updated after "Create a new share link" with "Always ask for a password" admin setting #44032

Closed

Description

@andrey18106

⚠️ This issue respects the following points: ⚠️

Bug description

With Nextcloud 27.1.7 when the "Admin settings -> Sharing -> Always ask for a password" there is an incorrect sidebar sharing menu UI update after you "Create a new share link".

Note: After page reload it's displayed correctly.

Steps to reproduce

  1. Tick the Admin settings -> Sharing -> Always ask for a password checkbox

  2. Try to create a new link share on any file
    1

  3. See the issue, after creating a link share sidebar menu UI does not refresh the state with created link share
    2

  4. It's displayed correctly only after page reload

Expected behavior

The sharing sidebar menu state is correctly reflected and refreshed after link share is created.

Installation method

None

Nextcloud Server version

27

Operating system

None

PHP engine version

PHP 8.2

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Activity

  1. added
    0. Needs triage
    on Mar 6, 2024
  2. DatNoHand commented on Mar 6, 2024

    @DatNoHand

    I can confirm that we have this issue aswell with 28.0.2

  3. andrey18106 commented on Mar 6, 2024

    @andrey18106
    ContributorAuthor

    I can confirm that we have this issue aswell with 28.0.2

    With 28.0.3 it works fine

  4. sorbaugh commented on Mar 11, 2024

    @sorbaugh
    Contributor

    I can confirm that we have this issue aswell with 28.0.2

    With 28.0.3 it works fine

    @fenn-cs can we fix this in NC27 as well? I imagine backporting isn't an option due to files2vue but I'm not 100% sure..

  5. added
    2. developing
    and removed
    0. Needs triage
    on Apr 15, 2024
  6. removed
    2. developing
    on Jun 24, 2024
  7. demkr commented on Mar 23, 2025

    @demkr

    The same problem on 29.0.14. If there is context present, even with Custom public Links where you put custom link token, the share icon is not updated in realtime but only when manually refresh webpage.. Also when you create share with Context, not only that share icon is not updated, there is also Error deleting share notification when you Unshare that kind of share link.
    If you create share without any context, icon is refreshed automatically and no Error deleting share notification is showing up.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions