Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.5.1, 12.6
-
Windows 10 Pro 64 bit, Chrome 84, using a local instance of XWiki 12.6 on PostgreSQL 12
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Login as Admin
- Create a global user (e.g. U1)
- Create a subwiki
- Login as the user U1
- Go to Notifications > Settings
- Set all Pages Notifications to ON
- Login as Admin
- Create, update and comment some pages on the Main Wiki (more than 10 events)
- Create, update and comment some pages on the subwiki as well (more than 10 events)
- Login as the user U1
- Go to subwiki
- Open Notifications list and click 'Load older notifications'
- Observe the events
- Go to subwiki Dashboard
- Click 'Load older notifications' and observe the events
EXPECTED RESULTS
The name of the wiki where the events took place is displayed near the link to the respective pages in notifications list, depending where the list is being viewed.
If the list is viewed in subwiki, for events that took place on Main Wiki is displayed '(Home)', and for events that took place locally, no wiki name is displayed.
As well, on subwiki's Dashboard Activity Stream, since the events took place in respective subwiki, no wiki name is displayed.
ACTUAL RESULTS
On subwiki, events loaded after clicking 'Load older notifications' from the user's notifications list are displayed inverted: those that took place in Main Wiki are without (Home) near the page links and events that took place in this subwiki have (subwiki_name) near the page links although they took place here.
Also, on subwiki's Dashboard Activity Stream, events loaded after clicking 'Load older notifications' display (subwiki_name) near the page links although they also took place in this subwiki.
The issue reproduces also on XWiki 12.5.1. I've tested also on XWiki 12.1 and I couldn't reproduce the issue.
Attachments
Issue Links
- is related to
-
XWIKI-17478 The wiki name is not displayed properly anymore on Notifications list and Notifications Macro on subwikis
- Closed