This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-c300ac9f-bfc7-491a-86e2-25c7650dbc10 XWIKI-22688 Open

Livedata using sourceParameters with cross wiki references is not found

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6399615b-559b-4cec-9d65-59a1c4069fa5 Charpentier Lucas created this issue on 22/Nov/24 17:35
 
Summary: Livedata using sourceParameters with cross wiki references is not found
Issue Type: cid:jira-generated-image-avatar-c300ac9f-bfc7-491a-86e2-25c7650dbc10 Bug
Affects Versions: 16.10.0-rc-1
Assignee: Unassigned
Components: Live Data
Created: 22/Nov/24 17:35
Priority: cid:jira-generated-image-static-major-94379eef-26e9-41fd-974e-f87db7713d63 Major
Reporter: Charpentier Lucas
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 Manuel Leduc 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.