There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-9b8a76a7-107e-471a-b84a-746f1166f294 XWIKI-18698 Open

Mentions are displayed in the event stream of a wiki as addressed to the current user when they're actually not

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-4e35cba1-58c2-41e7-a43f-ce22d6cdd9a4 Changes by Simon Urli on 18/Dec/25 12:21
 
Description: How to reproduce (requires 2 or 3 different users):
*
All operations have to be done on a subwiki
* on a
page of a wiki, use notifications macro with the useUserPreferences on "false", and with events restricted to the current wiki
** the notifications macro used on the Dashboard of the standard distribution is such a usage
** such a usage will display all the events of the scope for which it's used (the current wiki, on the Dashboard, for example), _not contextualized to the preferences of the current user viewing the page_
* with one of the users (kbernick in my example below), create a page
* in the content of this page, mention another user (Dina Dorf in my example below)
* login with yet another user (Admin in my example below) and access the page that displays the event stream using the notifications macro (the Dashboard, for example)

Expected result:
* the mention is displayed in the event stream informing correctly that user kbernick mentioned user Dina Dorf in a page

Actual result:
* the mention is displayed in the event stream as if the current user (Admin) was mentioned. The message is "You have received one mention", which is the same with the message displayed in the notifications of the mentioned user

See screenshot:
!Selection_083.png|thumbnail!

Side-effect:
User kbernick, who is the mentioner, sees the same message "You have received one mention" which is rather misleading (to say the least). I don't think the message needs to be contextualized to who sees it (displayed differently for the mentioned or mentioner user), it should just be neutral enough.