This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7215bb6c-a94d-4e6a-a9a3-d639cf8075fd XWIKI-22950 Open

Notifications Macro also displays mentions events that took place in other locations if Pages parameter is used

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7093400b-ad8c-4ba9-b875-20e563f43448 Ilie Andriuta created this issue on 04/Mar/25 18:20
 
Summary: Notifications Macro also displays mentions events that took place in other locations if Pages parameter is used
Issue Type: cid:jira-generated-image-avatar-7215bb6c-a94d-4e6a-a9a3-d639cf8075fd Bug
Affects Versions: 16.6.0
Assignee: Unassigned
Attachments: Mention_from_Home_displayed.png
Components: Notifications
Created: 04/Mar/25 18:20
Environment: Windows 11 Pro, Edge 133, using an instance of XWiki 16.10.4 on MariaDB 11.4, Tomcat 9.0.100, reproducible also on Jetty/HSQLDB
Priority: cid:jira-generated-image-static-blocker-a153debc-6a24-4ef8-8962-3f68eb9b7acf Blocker
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Have an user (e.g. U1) created that follows the entire wiki with Notifications
  2. Login with Admin
  3. Create a page (e.g. P1) and add a comment on it
  4. Mention the user in another page (e.g. Home)
  5. Login with the user (e.g. U1)
  6. Edit a page and insert the Notifications Macro
  7. While editing the macro, on Pages field, fill the name of the page created previously that was commented (e.g. P1.WebHome)
  8. Save the page
  9. Observe the events displayed on the Notifications Macro

Expected results

Only the events related to the respective page (P1.WebHome) are displayed on Notifications macro (i.e. - page creation and page comment)

Actual results

The mention event that took place in another page (e.g. Home) is displayed as well.

It is to be mentioned that if the Spaces parameter is used (e.g. xwiki:P1), the mentions events are not displayed, as expected.

The issue reproduces as well on older XWiki versions (tested on 16.6.0), but it couldn't be reproduced on XWiki 16.4.6.

 
 

3 updates

 
cid:jira-generated-image-avatar-7093400b-ad8c-4ba9-b875-20e563f43448 Changes by Ilie Andriuta on 04/Mar/25 18:20
 
Fix Version: 16.10.5
Fix Version: 17.2.0-rc-1
Labels: regression