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

Mail events are not filtered properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Blocker
    • None
    • 13.2
    • Notifications
    • Windows 10 Pro 64 bit, Edge 89, using a Docker instance XWiki 13.2 on MariaDB 10.5, Tomcat
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Create the following pages: "a/b/c/d/e/"
      2. Login with an user (U1) with a valid email address
      3. Click on the Notifications bell
      4. Go to Notifications Settings
      5. Select Daily for "Email Frequency"
      6. In the Applications Preferences set all Notifications ON (e.g. for Pages, both for "Notification menu" and for E-mail)
      7. Click on the "Add filter" button from the Custom Filters section
        Location -> Page "c": "Home/a/b/c/"
        Action -> Ignore the event
        Events type (Pages) -> A page is modified
        Channel -> Alert
      8. Click on the "Add filter" button from the Custom Filters section
        Location -> Page "d": "Home/a/b/c/d/"
        Action -> Ignore the event
        Events type (Pages) -> A page is modified
        Channel -> Email
      9. Login with Admin
      10. Update the pages: 'a','b','c','d' and 'e'
      11. Trigger the "Notifications daily email" job from Scheduler.WebHome
      12. Login with U1
      13. Look at the notification list
      14. Check U1's received emails

      EXPECTED RESULTS

      On the notification list only the update events for pages 'a' and 'b' are displayed while on the received email, the update events for pages 'a', 'b' and 'c' are displayed.

      ACTUAL RESULTS

      Both on notifications list and on Email, the user receives notifications for 'a' and 'b' pages.

      The issue reproduces also for "Notify of the event" filters. If a "Notify of the event" filter is added for Location -> Page "c": "Home/a/b/c/" (for Email), then on Email the user receives notifications for 'b', c', 'd' and 'e' pages while it should only get the update events for pages 'c', 'd' and 'e'.

      The issue does not reproduce on XWiki 13.1.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: