⚠️ This issue respects the following points: ⚠️
Bug description
After renaming a user group, some lists will not update (sort) to the updated group name.
Affected modules:
- User administration panel: The user group list (left menu bar)
- External storage: The share dropdown lists (group shares suggestions)
NOT affected:
- User administration panel: User group membership (group suggestions)
As mentioned this problem is not present in all interfaces. A also checked the database layouts and the initial name upon creating a group is persisting in some columns even after the group was renamed. I suggest that database columns that contain duplicated information might be able to be refactored / merged / cleaned up to prevent such issues in the first place. Different interfaces seem to pull the group name information from different database columns while the rename function does not update all columns.
Steps to reproduce
- Create a user group "Daniel"
- Create a user group "Bob". "Bob" will be inserted before "Daniel". Current order is "Bob, Daniel".
- Create a user group "Casper". "Casper" will be inserted before "Daniel". Current order is "Bob, Casper, Daniel".
- Rename "Casper" to "Alice". "Casper/Alice" will not change position. Current order is "Bob, Alice, Daniel".
Expected behavior
- Create a user group "Daniel"
- Create a user group "Bob". "Bob" will be inserted before "Daniel". Current order is "Bob, Daniel".
- Create a user group "Casper". "Casper" will be inserted before "Daniel". Current order is "Bob, Casper, Daniel".
- Rename "Casper" to "Alice". "Casper/Alice" will change position. Current order is "Alice, Bob, Daniel".
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
None
Database engine version
MariaDB
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?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Bug description
After renaming a user group, some lists will not update (sort) to the updated group name.
Affected modules:
NOT affected:
As mentioned this problem is not present in all interfaces. A also checked the database layouts and the initial name upon creating a group is persisting in some columns even after the group was renamed. I suggest that database columns that contain duplicated information might be able to be refactored / merged / cleaned up to prevent such issues in the first place. Different interfaces seem to pull the group name information from different database columns while the rename function does not update all columns.
Steps to reproduce
Expected behavior
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
None
Database engine version
MariaDB
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?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response