Different group name if searching or viewing members #1070
Description
Describe the bug
Groupname shown when searching for new members should be the same as the list of members, this happens on groups in Nextcloud that has different GroupID and DisplayName for example when the group is created by the Workspace app.
To Reproduce
Steps to reproduce the behavior (when having a group with different GroupID and DisplayName as shown in OCC command under screenshots) :
- Add member to a collective
- Search for a group , note the name shown (DisplayName attribute in Nextcloud)
- Add group from above
- See the members in the collective and note that the name of the added group is not correct (it shows groupID attribute from Nextcloud)
Expected behavior
To see the same attribute (Displayname) of the group in both the search field and the members field of the collective.
Screenshots
Screenshot when searching group "U-Test Editors" :
Screenshot when viewing members it show "SPACE-U-3" (GroupID) :
OCC command group:info showing difference on GroupID and DisplayName :
sudo -u wwwrun php occ group:info SPACE-U-3
- groupID: SPACE-U-3
- displayName: U-Test Edtitors
- backends:
- Database
Server details:
- Collectives app version: 2.9.2
- Nextcloud version: 27.1.4
- PHP Version: 8.0.28
- Database: MariaDB
Client details:
- OS: Windows 10
- Browser: Microsoft Edge
- Browser version: 120.0.2210.121
- Device: Desktop
Metadata
Assignees
Labels
Type
Projects
Status
☑️ Done
Activity