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

Mentions events cannot be filtered anymore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Solved By
    • Affects Version/s: 12.6, 12.6.1
    • Fix Version/s: 12.7-rc-1, 12.6.2
    • Component/s: Mentions
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Chrome 84, using a local instance of XWiki 12.6.1 on PostgreSQL 12.3, Tomcat 9.0.37
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Set up the Email server for the XWiki instance
      2. Create the following pages: 'a/b/c/d/e/'
      3. Login with an user (U1) which has a valid email address set in its profile
      4. Go to Notifications Settings
      5. Select Daily for 'Email Frequency'
      6. In the Applications section set all Notifications ON for Mentions, both for 'Notification menu' and for 'E-mail'
      7. Click on the "Add filter" button from the Filters section and add:
        -> Filter Type -> Exclusive
        -> Notification Format -> Alert
        -> Event Type (Mentions) -> Mentions
        -> Filter Scope -> Page "c": "Main/a/b/c/"
      8. Click again on the "Add filter" button from the Filters section and add:
        -> Filter Type -> Exclusive
        -> Notification Format -> Email
        -> Event Type (Mentions) -> Mentions
        -> Filter Scope -> Page "d": "Main/a/b/c/d/"
      9. Login with Admin
      10. Edit the pages 'a','b','c','d' and 'e' and mention the user U1 on each page
      11. Trigger the "Notifications daily email" job from Scheduler.WebHome
      12. Login with U1
      13. Observe the notification list
      14. Check U1's received emails

      EXPECTED RESULTS

      On U1's notification list only the mention events for pages 'a' and 'b' are displayed.
      On the email, only the mention events for pages 'a', 'b' and 'c' are displayed.

      ACTUAL RESULTS

      On both notification list and email, are displayed mention events for all pages: 'a', 'b', 'c', 'd' and 'e'.

      The filters are not working either if they are added as 'Inclusive'.

      However, the issue seems to be only for Mentions, as I've tested the 'Exclusive' filter on Pages Notifications and it worked.

      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:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: