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

Allow listeners to receive only events from their own namespace

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.1
    • Fix Version/s: None
    • Component/s: Component
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce

      • In a subwiki, create a WikIComponent listener with scope "current wiki" as described in the EventListener tutorial
      • Make sure that the listener works as expected by editing and saving a page of the current wiki: some extra content gets added to it by the listener.
      • In a distinct subwiki, edit and save a page.

      Actual behaviour

      The page that was updated in the other wiki gets some extra content as well, which is not expected when the WikiComponent scope is set to "current wiki".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                slauriere slauriere
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: