Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18958

The page Comment event notification is received every time a deleted page with comments is restored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.10.13, 13.4.3, 12.10.9, 13.7
    • Notifications
    • None
    • Windows 10 Pro 64 bit, Chrome 92, using a local instance of XWiki 13.7 on PostgreSQL 13, Tomcat 9.0.52
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create an user (e.g. U1)
      3. Login as U1
      4. Go to Notifications Settings > Applications section and set Pages toggles to ON (make sure "Watch this wiki" toggle from Notifications Menu is ON)
      5. Login as Admin
      6. Create a page (e.g. 'Pag1') and add a comment on it, then delete the page
      7. Navigate to the deleted page's location and click "Restore" from Actions column
      8. Login as U1 and observe the events received in Notifications list

      EXPECTED RESULTS

      The events displayed in U1's Notifications list are related to page being created, commented and deleted.

      ACTUAL RESULTS

      After the page restoration, the 'commented' event is displayed twice in the notifications list.

      Actually, if the page is deleted and restored multiple times, a new 'commented' event is added to the list each time the page is restored (all events having the same timestamp).

      The issue could be reproduced also on XWiki 13.4.3, 12.10.9 and 11.10.13.

      Attachments

        1. Commented_displayed_twice.png
          42 kB
          Ilie Andriuta
        2. screenshot-1.png
          41 kB
          Simon Urli
        3. screenshot-2.png
          48 kB
          Simon Urli

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: