Add inclusive filters

Last modified by Ilie Andriuta on 2025/05/06 17:08

Home Notification Tests Home Run Test

Steps to reproduce

  1. Set up the Email server for your XWiki instance
  2. Create the following pages: "a/b/c/d/e/"
  3. Login with an user (U1)
  4. Set a valid email address for U1
  5. Click on a Page Notifications watch button
  6. Make sure that the wiki is NOT followed (on a page, click on Notifications button, select 'Unfollow entire wiki' and Save) (Since XWiki 15.5 RC1 wiki is not followed by default)
  7. Click on Settings, in the right side of Notifications
  8. Select Daily for "Email Frequency"
  9. In the 'Applications' section make sure all Notifications toggles are ON (e.g. for Pages, both for 'Notification menu' and for 'Email')
  10. Click on the "Add filter" button from the Custom Filters section
    • Location -> Page "b": "Home/a/b/"
    • Action -> Notify of the event
    • Events type (Pages) -> A page is modified
    • Channel -> Alert
  11. Click on the "Add filter" button from the Custom Filters section
    • Location -> Page "c": "Home/a/b/c/"
    • Action -> Notify of the event
    • Events type (Pages) -> A page is modified
    • Channel -> Email
  12. Login with Admin
  13. Update the pages: 'a','b','c','d' and 'e'
  14. Trigger the "Notifications daily email" job from Scheduler.WebHome
  15. Login with U1
  16. Observe the notification list
  17. Check U1's received emails

Expected results

  1. On the notification list only the update events for pages 'b', 'c', 'd' and 'e' are displayed.
  2. On the received email, only the update events for pages 'c', 'd' and 'e' are displayed.

Results

per page of Page
Jira Issue
Warning
The environment prevents the table from loading data.
 
Page

Get Connected