Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17106

Notification counter might be seen as inaccurate in some cases

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 11.10.3, 12.1, 14.5
    • Notifications
    • None
    • Unknown

    Description

      The notification counter currently displays the number of Composite Events a user have according to his filters preferences.
      Now the notification display, always a limited number of notifications, by default 10.
      In some cases, you can have a notification counter displaying "11", and when you ask to load more notifications, you can see 2 new notifications appearing, so apparently 12 notifications, and not 11 as indicated by the counter.
      The problem happens in case of events that should be aggregated in the same composite events, but have not been selected because other events occured in the meantime.

      Here's a reproduction step:

      • Login as Admin
      • Go in notification settings, activate notification alert for pages, remove filter on own events and filter on minor events
      • Create a first page (let's call it Page 1)
      • Edit and save once or twice this page
      • Create 9 new pages
      • Edit and save again once Page 1
      • Display notifications and click on "load more"

      Expected result:

      • the notification counter should display 11 notifications (10 for page creation and 1 for edition of Page 1)
      • when clicking on "load more" only the page creation of page 1 should appear
      • In the details for the notification of Page 1 edition that should be at the top of the list of notifications, we should be able to see all events (even the first one)

      Obtained result:

      • the notification displays 11 notifications (10 for page creation and 1 for edition of Page 1)
      • when clicking on "load more" both the page creation and the first edition of Page 1 appeared
      • In the details for the notification of Page 1 edition at the top of the list, only the latest edition is displayed

      So basically, we currently display two composite events for the edition of Page 1 where it should be only one.

      It's really a minor issue, but it's a bit more obvious and disturbing in case of edition of the notifications to display less that 10 notifications.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: