There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-e68a3267-507b-4e48-814f-6a619d151184 XWIKI-16792 Open

Duplicate macro ID not handled

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-59e86a3c-b1e0-4673-96f9-6f30b153e062 Charpentier Lucas on 07/Oct/26 16:23
 

Getting a quick look at the topic, what I'd imagine as a perfect solution would be that we add a "conflict" and a "shorthand" sections in the macro listing. The conflict section would show what macro names collide, and allow to select which one is winning (but it probably goes against the component logic... not sure it'd make sense to allow this). The shorthand section would allow users to define alternative names for some macros, this is a way that would allow using both macros at the same time (but could create even more collisions...). How we handle hidden macros with all these would create a whole lot of edge cases...

 

Pretty sure we don't want to get into a complex system for a user need that seems quite limited.

 

In any case, I think we can close this issue as won't fix and possibly redirect to an issue corresponding to the idea I've described (we possibly already have such as a jira but couldn't find it ATM).

 

I asked CC and it couldn't find any ticket about this. Created PAGELOGS-2 . 

+1 to close this one as a won't fix.