There are 2 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-cb89415a-9ab8-4bac-9e25-98e61c04f949 XWIKI-24121 Open

Macro editor transforms ID attributes provided in editTemplate

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-00078379-4184-48c0-ad40-ad250a67006f Changes by Vincent Massol on 16/Mar/26 13:56
 
Version: 17.5.0
Version: 17.10.3
 
 

1 comment

 
cid:jira-generated-image-avatar-00078379-4184-48c0-ad40-ad250a67006f Vincent Massol on 16/Mar/26 13:54
 

Claude code also found it:

Perfect! The JIRA issue causing the regression in XWIKI-24121 is:
XWIKI-23043: "Provide validation and UI for group of macro parameters belonging to same feature"
This issue introduced changes to how macro parameters are extracted from HTML in edit templates. Specifically, it:
1) Removed the getMacroParametersFromHTML() method
2) Replaced it with fromAnnotatedXHTML() which processes HTML through the HTML converter
3) This processing appears to transform ID attributes in the edit templates, breaking JavaScript that relies on those IDs
The main commit is 63a86e309f13764fb604f2121c5f6852b9d79838 from June 25, 2025.