collectives icon indicating copy to clipboard operation
collectives copied to clipboard

Collective name use circle Sanitizedname and not Displayname

Open wargreen opened this issue 4 months ago • 0 comments

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:

  1. Go to Collective
  2. Click on create collective or edit name of a collective, with a name content "<"
  3. The collective name don't show this char
  4. 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

wargreen avatar Feb 18 '24 16:02 wargreen