This issue has been created
There is 1 update, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-3106d821-580c-400e-81c2-5be187737ee0 XWIKI-24096 Open

Some macros don't execute properly when editing the source of a page in the inplace editor and saving directly from there

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-db8bb08c-8bfc-4ce7-9ad0-7b3550fba4a1 Anca Luca created this issue on 08/Mar/26 19:17
 
Summary: Macros don't all execute properly when editing the source of a page in the inplace editor and saving directly from there
Issue Type: cid:jira-generated-image-avatar-3106d821-580c-400e-81c2-5be187737ee0 Bug
Affects Versions: 17.10.4, 17.8.0
Assignee: Unassigned
Attachments: image-2026-03-08-19-16-23-594.png, image-2026-03-08-19-17-03-476.png, image-2026-03-08-19-17-20-091.png
Components: CKEditor
Created: 08/Mar/26 19:17
Priority: cid:jira-generated-image-static-major-6656ff88-6f35-4e4c-b821-e8d6ee43c2c7 Major
Reporter: Anca Luca
Description:

Steps to reproduce:

  1. create a page with the create page form
  2. save the page, empty
  3. from view mode, enter the edit mode, using the default editor (in-place and realtime)
  4. switch to source editing, from the rich text editor button
    •  at this point an information box will say that the realtime editing mode was left, which is alright, expected and normal
  5. type or paste a liveData macro call, for example:
    {{liveData
      id="users"
      properties="_avatar,doc.name,first_name,last_name"
      source="liveTable"
      sourceParameters="className=XWiki.XWikiUsers&translationPrefix=xe.userdirectory."
    /}}
    
  6. click save and view

_thumb_44636.png

Expected result:

  • edit mode is exited and a livedata table loads in view mode for the page

_thumb_44634.png

Actual result:

  • edit mode is exited, but the page only displays a spinner indefinitely (and the table never loads):

_thumb_44635.png

  • after a refresh, the page displays properly, as expected
 
 

1 update

 
cid:jira-generated-image-avatar-db8bb08c-8bfc-4ce7-9ad0-7b3550fba4a1 Changes by Anca Luca on 08/Mar/26 19:20
 
Summary: Macros Some macros don't all execute properly when editing the source of a page in the inplace editor and saving directly from there
 
 

2 comments

 
cid:jira-generated-image-avatar-db8bb08c-8bfc-4ce7-9ad0-7b3550fba4a1 Anca Luca on 08/Mar/26 19:20
 

I can reproduce a similar incomplete, incorrect execution of macros for another macro, for which the CSS is not loaded properly, the section and column macros bridges from https://github.com/xwikisas/xwiki-pro-macros/tree/main/xwiki-pro-macros-confluence-bridges , so my guess is that it has something to do with loading macros resources (css and / or javascript), but I couldn't find a clear rule.

 
cid:jira-generated-image-avatar-db8bb08c-8bfc-4ce7-9ad0-7b3550fba4a1 Anca Luca on 08/Mar/26 19:23
 

The standard container macro with columns layout has the same behaviour, it's incompletely executed when saved.
To reproduce, follow the same steps as above, with the following content on step 5:

{{container layoutStyle="columns"}}
(((one A)))

(((two B)))
{{/container}}