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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 9.7
    • Fix Version/s: 9.8-rc-1
    • Component/s: Component, Notifications
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: