Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.2
-
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)
- Login as the user U1
- Go to Notifications > Settings
- Set all Pages Notifications to ON (watch entire wiki)
- Login as Admin
- Create, update and comment some pages (e.g. 11 events)
- Login as the user U1
- Open Notifications list and click 'Load older notifications'
- Observe and count the events
- Go to Dashboard's Activity Stream
- Click 'Load older notifications' and observe the events
EXPECTED RESULTS
After clicking 'Load older notifications', only one more event is loaded, as they are 11 in total.
ACTUAL RESULTS
The 10th event is duplicated in the notifications list, so in fact 2 events are loaded.
The same happens on Dashboard's Activity Stream after clicking 'Load older notifications'.
The issue reproduces also on XWiki 12.5.1. I've tested also on XWiki 12.1 and I couldn't reproduce the issue.