Steps to reproduce
- Have an user (e.g. U1) created that follows the entire wiki with Notifications
- Login with Admin
- Create a page (e.g. P1) and add a comment on it
- Mention the user in another page (e.g. Home)
- Login with the user (e.g. U1)
- Edit a page and insert the Notifications Macro
- While editing the macro, on Pages field, fill the name of the page created previously that was commented (e.g. P1.WebHome)
- Save the page
- 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. |