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

Author change of notifications displayer, filters and event descriptors is not taken into account

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      If the author of a notification display is modified (does not have admin right anymore or have admin right now) the component is not reloaded.

      This is because DefaultWikiObjectComponentManagerEventListener only listen to main xobject changes.

      One way to deal with than and also add support for use cases where you have a main xobject and several "sub xobjects" (like standard wiki components and wiki macros for example) would be to listen to any document change and reload all component matching xobjects that can be found in that document. It will produce false positive (a component reloading even when it's not needed) but it does not really matter much.

      Attachments

        Issue Links

          Activity

            People

              caubin Clément Aubin
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: