littleredbutton / cloud_bbb

@bigbluebutton integration for @nextcloud
GNU Affero General Public License v3.0
103 stars 42 forks source link

Admin interface displays groups `gid` instead of `displayname` #289

Closed pielonet closed 1 month ago

pielonet commented 1 month ago

Describe the bug When adding room creation limitations in the webadmin interface the search area displays groups' displayname whereas the groups' gid is finally displayed in the list.

To Reproduce

  1. Go to '/settings/admin/additional'
  2. Go to section 'limitations'
  3. Search a group by its displayname
  4. Select a group
  5. The group's gid is displayed in the list above

Expected behavior I expect the groups displayname to be displayed in the list (matches the value in the search area)

Screenshots image

On the screenshot the name SPACE-U-2 appears gid of the group instead of the group's displayname.

System (please complete the following information):

Additional context Table oc_groups has exactly two columns : gid and displayname

+-------------+--------------+------+-----+---------+-------+
| Field       | Type         | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------+-------+
| gid         | varchar(64)  | NO   | PRI |         |       |
| displayname | varchar(255) | NO   |     | name    |       |
+-------------+--------------+------+-----+---------+-------+