Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-69

Can't register listener on a subwiki component manager

    XMLWordPrintable

Details

    Description

      Because ObservationManager can't find the component since it lookup the root component manager (the one it's registered on) and not the one containing the actual listener when receiving the component event.

      The solution is to provide the CM corresponding to the event in the event datas so that OM or any other component dealing with dynamically registered components using events.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: