This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-afd0c29a-5848-4039-8210-aa42826444be XWIKI-23415 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7b62d605-043b-436b-848f-3fd2bbc56761 Michael Hamann created this issue on 25/Jul/25 17:05
 
Summary: Live Data event xwiki:livedata:entriesUpdated is triggered too early
Issue Type: cid:jira-generated-image-avatar-afd0c29a-5848-4039-8210-aa42826444be Bug
Affects Versions: 17.4.0-rc-1
Assignee: Unassigned
Attachments: image-2025-07-25-16-27-34-157.png, image-2025-07-25-17-03-00-340.png
Components: Live Data
Created: 25/Jul/25 17:05
Labels: regression
Priority: cid:jira-generated-image-static-blocker-a6b966cd-b55d-4481-9ffe-8a8fa6e07f31 Blocker
Reporter: Michael Hamann
Description:

Steps to reproduce:

  1. Create a JavaScript extension that is triggered on xwiki:livedata:entriesUpdated
  2. With the debugger, put a breakpoint in the event handler.
  3. Load the attachments tab.

Expected result:

The attachments are displayed when the breakpoint is triggered.

Actual result:

Just a table grid is displayed. 

43888_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:

  1. Install change request
  2. Create a new page as change request.
  3. 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.

43889_image-2025-07-25-16-27-34-157.png