Skip to content

[Bug]: "Limit to groups" only finds former name when group was renamed #51677

Open
@dorkmaneuver

Description

@dorkmaneuver

⚠️ This issue respects the following points: ⚠️

Bug description

If a group is renamed, "Limit to groups" takes the old group name, which seems to me like an id. However, if a group is renamed, it cannot be found by the actual name, which seems to me like a label, but with it's old name (serving as id). The old name can be seen in the URL when selecting the group in the "Users" section. However, this is a bit confusing since the rest of the GUI follows the label name of the group and the old name of the group needs to be known to select it.

Steps to reproduce

  1. Create random group like "original_group"
  2. Rename group to other name like "changed_group"
  3. Go to Apps section and find an app that allows limiting to like "Polls"
  4. Check box next to "limit to groups" and try to search for "changed_group" in the text field.
  5. Then try to search for "original_group" - this will be found.

Expected behavior

If you search for the renamed group name to find that one.

Nextcloud Server version

30

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

None

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

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions