This issue has been created
There are 5 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-53529fe2-eaab-4f70-84d0-12f70c650c84 XWIKI-23584 Open

Document extra tabs coming from UI extensions are broken

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-d2908bac-1558-45c4-967a-e6d7a46a9f50 Thomas Mortagne created this issue on 09/Oct/25 11:17
 
Summary: Document extra tabs coming from UI extensions are broken
Issue Type: cid:jira-generated-image-avatar-53529fe2-eaab-4f70-84d0-12f70c650c84 Bug
Affects Versions: 16.10.12, 17.4.5, 17.8.0-rc-1
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 09/Oct/25 11:17
Priority: cid:jira-generated-image-static-blocker-abe41d66-30b2-4b6f-aeda-7e3975338513 Blocker
Reporter: Thomas Mortagne
Description:

Par of the URL which is supposed to load the tab content is too escaped.

Getting:

http://127.0.0.1:8080/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=loaddocextrauix.vm%26uix%3Dreplication.docextra&language=

instead of

http://127.0.0.1:8080/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=loaddocextrauix.vm&uix=replication.docextra&language=

This regression has been caused by https://github.com/xwiki/xwiki-platform/commit/5bc5c0debbe9f3f9ecf35fd7fe2dca6dc92bd18e#diff-3d837290c69d5d82a7b144fd0ca361c98157abbe632139fd28885f25efc593a5R215 which assumed the vm parameters was always a single value while the fact that it was not escaped was actually used as a feature...

 
 

5 updates

 
cid:jira-generated-image-avatar-d2908bac-1558-45c4-967a-e6d7a46a9f50 Changes by Thomas Mortagne on 09/Oct/25 11:17
 
Fix Version: 16.10.13
Fix Version: 17.9.0-rc-1
Fix Version: 17.4.6
Description: The tab is listed, but clicking it does not show the content.

Par of the URL which is supposed to load the tab content is too escaped.

Getting:

{{http://127.0.0.1:8080/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=loaddocextrauix.vm%26uix%3Dreplication.docextra&language=}}

instead of

{{http://127.0.0.1:8080/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=loaddocextrauix.vm&uix=replication.docextra&language=}}

This regression has been caused by https://github.com/xwiki/xwiki-platform/commit/5bc5c0debbe9f3f9ecf35fd7fe2dca6dc92bd18e#diff-3d837290c69d5d82a7b144fd0ca361c98157abbe632139fd28885f25efc593a5R215 which assumed the {{vm}} parameters was always a single value while the fact that it was not escaped was actually used as a feature...
 
cid:jira-generated-image-avatar-b402ff2a-793b-4716-bd25-7ae8778ab8f3 Changes by Vincent Massol on 09/Oct/25 11:21
 
Labels: regression