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

Mentions events cannot be filtered anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Blocker
    • None
    • 12.6, 12.6.1
    • Mentions
    • Windows 10 Pro 64 bit, Chrome 84, using a local instance of XWiki 12.6.1 on PostgreSQL 12.3, Tomcat 9.0.37
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: