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

Notifications Macro also displays mentions events that took place in other locations if Pages parameter is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • 17.2.0-rc-1, 16.10.6
    • 16.6.0
    • Notifications
    • Windows 11 Pro, Edge 133, using an instance of XWiki 16.10.4 on MariaDB 11.4, Tomcat 9.0.100, reproducible also on Jetty/HSQLDB
    • Unknown

    Description

      Steps to reproduce

      1. Have an user (e.g. U1) created that follows the entire wiki with Notifications
      2. Login with Admin
      3. Create a page (e.g. P1) and add a comment on it
      4. Mention the user in another page (e.g. Home)
      5. Login with the user (e.g. U1)
      6. Edit a page and insert the Notifications Macro
      7. While editing the macro, on Pages field, fill the name of the page created previously that was commented (e.g. P1.WebHome)
      8. Save the page
      9. Observe the events displayed on the Notifications Macro

      Expected results

      Only the events related to the respective page (P1.WebHome) are displayed on Notifications macro (i.e. - page creation and page comment)

      Actual results

      The mention event that took place in another page (e.g. Home) is displayed as well.

      It is to be mentioned that if the Spaces parameter is used (e.g. xwiki:P1), the mentions events are not displayed, as expected.

      The issue reproduces as well on older XWiki versions (tested on 16.6.0), but it couldn't be reproduced on XWiki 16.4.6.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: