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

Allow listeners to receive only events from their own namespace

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 11.1
    • Component
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated: