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

First older notification event loaded in Notification Menu is duplicated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.6.1, 12.7-rc-1
    • 12.2
    • Notifications
    • 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

      1. Login as Admin
      2. Create a global user (e.g. U1)
      3. Login as the user U1
      4. Go to Notifications > Settings
      5. Set all Pages Notifications to ON (watch entire wiki)
      6. Login as Admin
      7. Create, update and comment some pages (e.g. 11 events)
      8. Login as the user U1
      9. Open Notifications list and click 'Load older notifications'
      10. Observe and count the events
      11. Go to Dashboard's Activity Stream
      12. 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.

      Attachments

        1. Duplicate_notifications.png
          76 kB
          Ilie Andriuta
        2. Duplicate_notifications2.png
          81 kB
          Ilie Andriuta

        Activity

          People

            tmortagne Thomas Mortagne
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: