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

A wiki component listener can become a ghost if it's listening to an event from an installed extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.2-milestone-3
    • Component
    • None
    • Unknown

    Description

      When an extension is uninstall/upgrade on a namespace all the classes of that namespace (and child namespaces) are re-created and all components in those namespaces reloaded... except wiki components.

      The problem is that the wiki component listener was registered with the old event Class and even if the class name did not change it's not technically the same one, so the listener is never matched anymore after the reload.

      Java component coming from extensions are not impacted by this problem because all the Java component of JAR extensions installed in the reloaded namespace are reloaded too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              AndreeaChirica Andreea Chirica
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: