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

Revision changes are not properly displayed on Notifications RSS Feed if a page is deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 10.11.2, 11.0.3
    • Notifications
    • Windows 10 Pro 64 bit, Chrome 72, using a local instance XWiki 10.11.2 on Oracle 11.2
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Login with Admin
      2. Create an user (e.g. U1)
      3. Login with U1
      4. Go to Notification Settings and set all Pages to ON
      5. Login with Admin
      6. Create, update, comment and delete a page (e.g. Pag1)
      7. Login with U1
      8. Click on Notifications bell > 'RSS Feed' and observe the 'Changes' links
      9. Login as Admin
      10. Restore the page 'Pag1'
      11. Login with U1
      12. Click on Notifications bell > 'RSS Feed'

      EXPECTED RESULTS

      On RSS feed are displayed properly the events performed by Admin (create/update/comment/delete a page) along with the corresponding links to respective document changes. If the page is deleted, no revision link is displayed for this respective (delete) event (eventually displayed '-').

      ACTUAL RESULTS

      On 'Changes:' is displayed '${newdoc.version}' value instead of the version (revision) link for the update, comment and delete events.

      If the 'Pag1' page is restored, the comment event's title is changed into a creation event (screenshot attached).

      The issues could be reproduced also on XWiki 11.0.3.

      Attachments

        1. 1 RSS_after_page_deletion.jpg
          172 kB
          Ilie Andriuta
        2. 2 RSS_after_page_restore.jpg
          159 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: