collectives icon indicating copy to clipboard operation
collectives copied to clipboard

Different group name if searching or viewing members

Open robake1 opened this issue 1 year ago • 0 comments

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) :

  1. Add member to a collective
  2. Search for a group , note the name shown (DisplayName attribute in Nextcloud)
  3. Add group from above
  4. 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" : Search-group Screenshot when viewing members it show "SPACE-U-3" (GroupID) : Members

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

robake1 avatar Jan 10 '24 09:01 robake1