Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 1e5aee5b20fbad75d2f653fc0102d67e84991b31 https://github.com/xwiki/xwiki-platform/commit/1e5aee5b20fbad75d2f653fc0102d... Author: Simon Urli <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: M pnpm-lock.yaml M pnpm-workspace.yaml M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/pom.xml A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/eslint.config.ts A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/package.json A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/resources/uicomponents/widgets/__tests__/locationPicker.test.ts A xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/vitest.config.ts Log Message: ----------- XWIKI-25222: The location preview uses a wrong wiki and errors are logged when the parent field of the location picker contains the wiki * Add a Vitest unit test for the location preview of locationPicker.js, covering a parent field relative to the wiki, containing the selected wiki, containing another wiki, and a wiki change * Add a test-only Node package in src/test/node of xwiki-platform-web-war, registered in the pnpm workspace, which evaluates the legacy script in jsdom with the RequireJS mock of `@xwiki/platform-test-requirejs` * Run its unit tests (test phase) and its linter (verify phase) from the Maven build with frontend-maven-plugin Co-Authored-By: Claude Opus 5.5 <[email protected]> Commit: b0366dc4a115ffdb2770c61478703455bb1b502d https://github.com/xwiki/xwiki-platform/commit/b0366dc4a115ffdb2770c61478703... Author: Simon Urli <[email protected]> Date: 2026-10-14 (Wed, 14 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/test/node/resources/uicomponents/widgets/__tests__/locationPicker.test.ts Log Message: ----------- XWIKI-25222: The location preview uses a wrong wiki and errors are logged when the parent field of the location picker contains the wiki * Test that the location preview falls back on the current wiki when no wiki is selected Co-Authored-By: Claude Opus 5.5 <[email protected]> Compare: https://github.com/xwiki/xwiki-platform/compare/4a5d10d4cb6d...b0366dc4a115 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications