collectives
collectives copied to clipboard
Collective name use circle Sanitizedname and not Displayname
Describe the bug Since the sanitizedname is used, some char as "<" seem escaped and not shown in the collective names, but correctly changed and displayed in the circle's name. The difference of names can lead to misunderstand the link between collective and circles.
To Reproduce Steps to reproduce the behavior:
- Go to Collective
- Click on create collective or edit name of a collective, with a name content "<"
- The collective name don't show this char
- Look the circle name in the contact app and see that is not the same.
Expected behavior The collective' name and the circle's name are the same.
Server details:
- Collectives app version: 2.9.2
- Nextcloud version: 28.0.2
- PHP Version: 8.2
- Database: MariaDB 10.9.4
Client details:
- OS: Debian
- Browser: Firefox
- Browser version: 121.0.1
- Device: desktop
Logs
Nextcloud log (data/nextcloud.log)
Nothing relevant
Browser log
What i can see :
- XHR to circle API OK, name correctly changed (2x)
- Collective use the returned Sanitizedname, not the Displayname