Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
1.0
-
None
-
Windows 11 Pro, Chrome 119, using a local instance of XWiki 15.10 RC1 and 15.5.3 on Jetty/HSQLDB
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Login as Admin
- Create an user (U1)
- Login with the user and on his profile, on "Word-Based Notification" tab, insert a query (e.g. "Query2")
- Login as Admin
- Create a new page and insert the query (e.g. "Query2"), then 'Save & View' the page
- Edit the page again, insert the query (e.g. "Query2") next to the previous one in the same line, then 'Save & View' the page
- Login as the user
- Observe the Notifications list
Expected results
The last WBN event notification states that there are 1 new occurrences of "Query2" (on a total of 2).
Actual results
The last WBN event notification states that there are 1 new occurrences of "Query2" (on a total of 1), therefor the latest addition of the "Query2" was not taken into consideration.
However, if the second "Query2" is added on the next line (by pressing Enter), it is taken into consideration.
The issue can be also reproduced if the two queries are inserted in a new created page one next to another at once.