This issue has been created
There are 5 updates, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-54b917b0-c5cc-427f-80c1-b71e622c3052 XWIKI-23226 Open

Edit menu UI extensions defined in Java are ignored

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-759445c1-01c0-4e67-b60d-038631de0fd3 Marius Dumitru Florea created this issue on 22/May/25 08:58
 
Summary: Edit menu UI extensions defined in Java are ignored
Issue Type: cid:jira-generated-image-avatar-54b917b0-c5cc-427f-80c1-b71e622c3052 Bug
Affects Versions: 16.10.8
Assignee: Unassigned
Components: Flamingo Skin
Created: 22/May/25 08:58
Priority: cid:jira-generated-image-static-major-03d55fa8-2c30-4a4d-9340-eaa3b8442de6 Major
Reporter: Marius Dumitru Florea
Description:

UI extensions defined as Java components following https://extensions.xwiki.org/xwiki/bin/view/Extension/UIExtension%20Module#HAsaJavacomponent for the "org.xwiki.plaftorm.editactions" UIXP are ignored.

 
 

5 updates

 
cid:jira-generated-image-avatar-759445c1-01c0-4e67-b60d-038631de0fd3 Changes by Marius Dumitru Florea on 22/May/25 08:59
 
Fix Version: 17.4.0
Fix Version: 16.10.9
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Marius Dumitru Florea
 
 

2 comments

 
cid:jira-generated-image-avatar-759445c1-01c0-4e67-b60d-038631de0fd3 Marius Dumitru Florea on 22/May/25 09:02
 

The problem is that the code in menus_content.vm where the UIXP is defined assumes that all UI extensions are defined in a wiki page so they all have an associated document and author reference.

 
cid:jira-generated-image-avatar-759445c1-01c0-4e67-b60d-038631de0fd3 Marius Dumitru Florea on 22/May/25 09:05
 

I applied the same fix as in https://github.com/xwiki/xwiki-platform/commit/c9de69434e0d4cd3383e6ed596e05cd11ac9abf1#diff-77335ab52f05982371152e25455e544454590e79e3c4b29ada2b5c31b8841757L236 .