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

Notifications macro page/space restriction doesn't work properly anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 14.0, 13.10.3
    • 14.0-rc-1
    • Event Stream
    • Windows 11 Pro 64 bit, Edge 97, using a local instance of XWiki 14.0 RC1 on MySQL 8, Tomcat 9.0.58
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Create a page (e.g. <server>/xwiki/bin/view/Test1/)
      2. Edit the page in Wiki/Source and insert the following:
        {{notifications spaces="xwiki:Test1" useUserPreferences="false" displayOwnEvents="true" /}}
      1. Save the page

      EXPECTED RESULTS

      The notifications macro displays an event: Test1 page creation.

      ACTUAL RESULTS

      No events are displayed. Even if the page is edited by other users, still no events are displayed.

      The same issue reproduces if the page is restricted (instead of space):

      {{notifications displayOwnEvents="true" pages="Test1.WebHome"/}}

      The issue couldn't be reproduced in XWiki 13.10.2.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: