This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-5dfe42e0-b6a6-48fd-b114-ba4d7703a019 XWIKI-25507 Open

The office macro is inserted with no document and renders an error box, unlike the include and display macros

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ec4f6202-6492-4c08-9417-3ee8d8cb6ee4 Charpentier Lucas created this issue on 22/Oct/26 15:48
 
Summary: The office macro is inserted with no document and renders an error box, unlike the include and display macros
Issue Type: cid:jira-generated-image-avatar-5dfe42e0-b6a6-48fd-b114-ba4d7703a019 Improvement
Affects Versions: 17.10.14, 18.8.0
Assignee: Unassigned
Components: Office
Created: 22/Oct/26 15:48
Priority: cid:jira-generated-image-static-major-4b2d0cf7-34e8-491b-b3ea-bd9ba0701790 Major
Reporter: Charpentier Lucas
Description:

When the office macro is inserted from the Quick Actions menu, an office macro call with no parameter is added to the page right away and renders an error box, since it has no document to show. The include and display macros, which also show the content of a target, declare their target as mandatory, so the Quick Action opens the Edit Macro dialog with the target field to fill first. The office macro declares neither reference nor attachment as mandatory, since it needs one of the two.

KOs covered

Macro Criterion Problem
office L1 consistency No mandatory parameter, unlike include and display, so the Quick Action inserts an empty call that renders an error box.

Impact found on macro fluidity

This KO comes from the WYSIWYG usability audit of the macros, under the criterion L1 consistency of its usability criteria, which checks that a macro behaves like the other macros of the same kind for the mandatory content, the insertion process and its default parameter values. The page of the macro has the full notes, and the L1 consistency table tracks the progress on this criterion.