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

Live Data sources registered on the root component manager not usable for wikis without component manager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 18.6.0-rc-1
    • 16.10.0
    • Live Data
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      I can't really provide any steps to reproduce as I doubt this can be reproduced in a regular setup. I reproduced the following in an integration test:

      • Execute a test on a subwiki using the wikis source
      • Install Live Data on the subwiki
      • Use Live Data in the subwiki with the Livetable source (part of the WAR)
      • Loading the Live Data fails because Live Data tried finding the source on the subwiki's component manager but no such component manager existed

      This shouldn't affect any production setup because for any subwiki you will have components like UIX, macros, … registered on that subwiki's component manager so the component manager exists.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: