Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.11.8, 10.8.1
-
None
-
Windows 10 Pro 64 bit, Edge 17, using a local instance XWiki 10.8.1 on Oracle 11.2
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
Preconditions: An user (e.g. U1) is already created.
- Login as U1
- Go to Notifications > Settings
- Set all Pages Notifications to ON
- Login as Admin
- Create/edit/comment some pages (app. 30 actions)
- Login as U1
- In the notification list, click on the 'check' icon for some events (e.g. for 3 events) to mark them as read
- Observe the unread notifications count after every 'mark as read'
- Refresh the page
EXPECTED RESULTS
Due to the fact that the number of notifications is much higher than 21 (close to 30), when some (few) events are marked as read, the notification count should display '20+' after every 'mark as read' action and also after refresh.
ACTUAL RESULTS
After every 'mark as read' action, the count decreases: '20+' > '20' > '19' > '18' ....and so on, but after refresh, it displays back '20+', so the decrease does not reflect reality.
A solution might be hiding the counter when notifications are marked as read if the number of events are higher than 21.
Attachments
Issue Links
- is related to
-
XWIKI-15363 Notifications count seems to not be working properly sometimes
- Open
-
XWIKI-15239 20+ notifications count does not decrease after a refresh even if the number of unread notifications drops below 20
- Closed