Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: c13cda383d160dd2995b4f0f4326d102dd319b6a https://github.com/xwiki/xwiki-platform/commit/c13cda383d160dd2995b4f0f4326d... Author: Marius Dumitru Florea <[email protected]> Date: 2026-09-10 (Thu, 10 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-docker/pom.xml M xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-test/xwiki-platform-export-pdf-test-docker/src/test/it/org/xwiki/export/pdf/test/ui/PDFExportIT.java A xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/node/src/components/XWikiLivedata.test.js M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/node/src/components/XWikiLivedata.vue M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/node/src/components/layouts/LivedataLayout.test.js M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/node/src/components/layouts/LivedataLayout.vue M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/node/src/main.js M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/node/src/services/logic.js Log Message: ----------- XWIKI-24808: The Live Data is not always rendered in the PDF export (#6331) * Delay the page ready detection until the Live Data is fully displayed: the user interface is loaded with dynamic imports and the entries are fetched asynchronously, neither of which the page ready detection can see. * Trigger a new "instanceReady" event, on the Live Data logic, once the layout is loaded and the entries are displayed (or as soon as we know that neither is coming), and return a promise settled by this event from the Live Data initialization, so that the page ready detection has something to wait for. The event data holds the error that prevented the display, if any, so that the listeners can tell success from failure, and the returned promise is rejected with it. * Trigger the "layoutLoaded" event also when no layout can be loaded at all (the requested one failed and there's no usable default layout to fall back on), with the error in the event data, so that the listeners waiting for a layout don't wait indefinitely. This also unblocks the layout loading indicator, which was left running when a layout change failed. * Wait for the displayers to be preloaded and for the DOM to be updated before triggering "entriesUpdated", by awaiting the preload promise and the next tick inside the entries update chain, instead of leaving them in a detached promise chain. * Add component tests for the new "instanceReady" and "layoutLoaded" behavior, covering both the success and the failure paths. * Add a functional test that checks the PDF export of the Live Data macro, verifying that the entries are fetched and that the sort, filter and page size set by the user are preserved. * Fix the Live Table PDF export test, whose Location filter value also matched the new Live Data test page. * Adapt the change to this branch, where the Live Data user interface is still part of the webjar and where the initialization is done by the Live Data logic constructor rather than by the root component: the page ready is delayed in the webjar entry point, using the "instanceReady" event triggered on the Live Data element, and the root component waits for the first entries through a promise exposed by the logic. Co-authored-by: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit 1f514255f091521262cef4b2f0908a7f0971596c) Commit: ad2bd3c33bc0712468b0b177004ea82587069622 https://github.com/xwiki/xwiki-platform/commit/ad2bd3c33bc0712468b0b177004ea... Author: Marius Dumitru Florea <[email protected]> Date: 2026-09-10 (Thu, 10 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-test/xwiki-platform-livedata-test-docker/src/test/it/org/xwiki/livedata/test/ui/LiveDataIT.java Log Message: ----------- [Misc] Fix LiveDataIT#livedataLivetableTableLayout failing on the Live Data cell actions popover * Select the "isActive" filter suggestions with the keyboard, because clicking on them leaves the mouse pointer over a table cell, whose cell actions popover then covers the suggestions and intercepts the next click. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Commit: 76f84a0117c5fbc7de8e6477706259e6583be4a3 https://github.com/xwiki/xwiki-platform/commit/76f84a0117c5fbc7de8e647770625... Author: Marius Dumitru Florea <[email protected]> Date: 2026-09-10 (Thu, 10 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-macro/src/main/resources/templates/liveData/importmap.vm Log Message: ----------- XWIKI-24796: Live Data fails to render in PDF export on 17.10.x * Force HTML rendering of the UI extension. Compare: https://github.com/xwiki/xwiki-platform/compare/85e36d896f01...76f84a0117c5 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications