Uploaded image for project: 'Word-based Notification Application'
  1. Word-based Notification Application
  2. WORDNOTIF-9

Notifications are not sent for a query added in the same line if the page has no other content

    XMLWordPrintable

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

      1. Login as Admin
      2. Create an user (U1)
      3. Login with the user and on his profile, on "Word-Based Notification" tab, insert a query (e.g. "Query2")
      4. Login as Admin
      5. Create a new page and insert the query (e.g. "Query2"), then 'Save & View' the page
      6. Edit the page again, insert the query (e.g. "Query2") next to the previous one in the same line, then 'Save & View' the page
      7. Login as the user
      8. 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: