Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23415

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

    XMLWordPrintable

Details

    • Unknown

    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. 

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: