There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-922a87dd-0084-44e0-8494-32fc76fa9de9 XWIKI-23415 Open

Live Data event xwiki:livedata:entriesUpdated is triggered too early

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-056d98c5-19bd-45e2-b55e-ebf21661454d Changes by Manuel Leduc on 28/Jul/25 09:56
 
Assignee: Manuel Leduc
 
cid:jira-generated-image-avatar-3c463347-12ef-43f8-b0de-7341c8a6c439 Changes by Michael Hamann on 28/Jul/25 10:02
 
Description: *Steps to reproduce:*
# Create a JavaScript extension
with an event handler that is triggered on {{*xwiki:livedata:entriesUpdated*}}
# With the debugger, put a breakpoint in the event handler.
# Load the attachments tab.

*Expected result:*

The attachments are displayed when the breakpoint is triggered.

*Actual result:*

Just a table grid is displayed. 

!image-2025-07-25-17-03-00-340.png!

This also causes a visual regression: Before the Vue 3 update, when changing the sorting of a column, the table would go from ** the old data directly to the new data, not changing column widths. Now, the table goes from old data first to empty, resizing all columns, and only then displays the new data, causing flickering.

*Alternative steps:*
# Install change request
# Create a new page as change request.
# Go on the "Change Requests" entry in the breadcrumbs

*Expected result:*

The table doesn't contain any create link

*Actual result:*

The table contains a create link.

!image-2025-07-25-16-27-34-157.png!