[xwiki/xwiki-platform] fc7972: XWIKI-24823: Improve the office viewer
Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: fc79723ba5f18e82db5e1d291f8e21ac281fd938 https://github.com/xwiki/xwiki-platform/commit/fc79723ba5f18e82db5e1d291f8e2... Author: Manuel Leduc <[email protected]> Date: 2026-09-11 (Fri, 11 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-test/xwiki-platform-office-test-docker/src/test/it/org/xwiki/officeimporter/test/ui/AllIT.java A xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-test/xwiki-platform-office-test-docker/src/test/it/org/xwiki/officeimporter/test/ui/OfficeMacroIT.java M xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-viewer/pom.xml M xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-viewer/src/main/java/org/xwiki/office/viewer/internal/DefaultOfficeResourceViewer.java M xwiki-platform-core/xwiki-platform-office/xwiki-platform-office-viewer/src/test/java/org/xwiki/office/viewer/internal/DefaultOfficeResourceViewerTest.java Log Message: ----------- XWIKI-24823: Improve the office viewer * Check the view right on the attachment before the office view is looked up in the cache or built * Cover the new check with unit tests in DefaultOfficeResourceViewerTest and raise the module instruction ratio accordingly * Add OfficeMacroIT, a functional test of the office macro, set up through the REST helper and asserting the macro output with Hamcrest's containsString (cherry picked from commit 727de89de7dc3ef9994deeec3b68f6a829b8d864) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications