Details
-
Bug
-
Resolution: Solved By
-
Blocker
-
None
-
12.6, 12.6.1
-
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
- Set up the Email server for the XWiki instance
- Create the following pages: 'a/b/c/d/e/'
- Login with an user (U1) which has a valid email address set in its profile
- Go to Notifications Settings
- Select Daily for 'Email Frequency'
- In the Applications section set all Notifications ON for Mentions, both for 'Notification menu' and for 'E-mail'
- 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/" - 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/" - Login with Admin
- Edit the pages 'a','b','c','d' and 'e' and mention the user U1 on each page
- Trigger the "Notifications daily email" job from Scheduler.WebHome
- Login with U1
- Observe the notification list
- 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
- duplicates
-
XWIKI-17665 TargetableEvents are not discarded when Event type is switched off
- Closed