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

Livedata using sourceParameters with cross wiki references is not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.10.0-rc-1
    • Live Data
    • None
    • Unknown

    Description

      Use case:
      Created a class on xwiki.org . https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/Icons/IconMappingClass#Information
      I want to display a livetable of this class' objects in some extension documentation. https://extensions.xwiki.org/xwiki/bin/view/Extension/Font%20Awesome%20Icon%20Theme#HIconMapping

      In order to do so, I tried to provide a cross wiki reference:
      ```
      liveData id="iconMappings" properties="Iconname, Silkmapping" showPageSizeDropdown="false" sort="Iconname" source="liveTable" sourceParameters="className=xwiki:Documentation.DevGuide.FrontendResources.Icons.IconMappingClass"/liveData
      ```

      This cross wiki reference is not found.

      A workaround mleduc found to still get some results is
      ```
      1{{liveData id="iconMappings" properties="Iconname, Silkmapping" showPageSizeDropdown="false" sort="Iconname" source="liveTable" sourceParameters="className=Documentation.DevGuide.FrontendResources.Icons.IconMappingClass&resultPage=xwiki:XWiki.LiveTableResults"}}/liveData
      ```

      However, the escaping of entries with this workaround seems to be off.
      ____
      As a user, I would have expected crossWiki references to work across a farm when defining liveDatas.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Lucas C Charpentier Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: