Details
-
Bug
-
Resolution: Won't Fix
-
Blocker
-
None
-
12.6.4, 12.10.4, 13.1
-
Windows 10 Pro 64 bit, Chrome 88, using a local instance of XWiki 13.1 on Oracle 19c, Tomcat 9.0.43
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE:
Preconditions: Mail Sending on Administration is configured. Eventually, go to
webapps\xwiki\WEB-INF\xwiki.properties
and set/un-comment
notifications.emails.live.graceTime = 1
to enable the sending of e-mails after 1 minute.
- Login as Admin
- Create an user (e.g. U1) with a valid email address in its profile
- Login with U1
- Go to Notifications Settings and set Pages toggles to ON (email Frequency is set to Daily - default setting)
- Login as Admin
- Create/edit/comment a page (e.g. Page1)
- Login with U1
- Go to Notifications Settings and change Email Frequency to Live
- Restart XWiki instance
EXPECTED RESULTS
No emails are received after the instance is restarted, since the user changed Email Frequency to 'Live' after the Page1 was created/edited/commented by Admin.
ACTUAL RESULTS
After restart, the user receives emails with events related to Page1 that took place before the Email Frequency preference was set to 'Live'.
The issue could not be reproduced on XWiki 12.5.1.