This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f7ac221c-0391-4520-9b8b-877c3faeb987 XWIKI-23731 Open

Notifications macro fails to display notifications for a space with an ampersand in the name

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-928ffed0-8315-45a4-87da-9e94bf7c7202 Vincent Massol created this issue on 19/Nov/25 09:21
 
Summary: Notifications macro fails to display notifications for a space with an ampersand in the name
Issue Type: cid:jira-generated-image-avatar-f7ac221c-0391-4520-9b8b-877c3faeb987 Bug
Affects Versions: 16.10.0
Assignee: Unassigned
Attachments: Screenshot 2025-11-19 at 09.21.05.png
Components: Notifications
Created: 19/Nov/25 09:21
Priority: cid:jira-generated-image-static-major-f6cbff03-106c-4215-bd25-87463f339dcc Major
Reporter: Vincent Massol
Description:

To reproduce:

  • Create a top level page named "A&B"
  • Also create a top level page named "A"
  • On some other page (like the wiki home page) add the following content:
    {{notifications spaces="A" count="5" displayOwnEvents="true" useUserPreferences="false"/}}
    
    ---
    
    {{notifications spaces="A&B" count="5" displayOwnEvents="true" useUserPreferences="false"/}}
  • Notice that the notifications for space "A&B" are not displayed but they are for space "A" _thumb_44349.png
 
 

1 update

 
cid:jira-generated-image-avatar-928ffed0-8315-45a4-87da-9e94bf7c7202 Changes by Vincent Massol on 19/Nov/25 09:21
 
Description: To reproduce:
* Create a top level page named "A&B"
* Also create a top level page named "A"
* On some other page (like the wiki home page) add the following content: {noformat}{{notifications spaces="A" count="5" displayOwnEvents="true" useUserPreferences="false"/}}

---
-

{{notifications spaces="A&B" count="5" displayOwnEvents="true" useUserPreferences="false"/}}{noformat}
* Notice that the notifications for space "A&B" are not displayed but they are for space "A"  !Screenshot 2025-11-19 at 09.21.05.png|thumbnail!