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

Notifications events marked as read are not filtered anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.6, 12.6.2, 12.8
    • Fix Version/s: 12.6.3, 12.9-rc-1
    • Component/s: Notifications
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Edge 85, using a local instance of XWiki 12.6.2 (Oracle 19c/ Tomcat 9.0.38)
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create an user (e.g. U1)
      3. Login as U1
      4. Go to Notifications Settings
      5. In the Applications section set Pages Notifications to ON (both for "Notification menu" and for "E-mail")
      6. In Filters section set "Read Event Filter" for both Alert and Email to ON
      7. Login as Admin
      8. Create/ update/ comment/ delete a page
      9. Login as U1
      10. On Notifications list, mark two notification events as read (e.g. 'edit' and 'comment' events)
      11. Refresh the page and observe the notifications list
      12. Login as Admin
      13. Trigger the "Notifications daily email" job from Scheduler.WebHome
      14. Check user's U1 received emails

      EXPECTED RESULTS

      On Step 11, after the page was refreshed, the notification events previously marked as read are not displayed anymore in the list.

      On the user's received email, the same notification events (marked as read) are not present.

      ACTUAL RESULTS

      The events marked as read are still displayed in both notifications list and email.

      The issue could not be reproduced on XWiki 12.5.1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: