[xwiki/xwiki-platform] 73f985: XWIKI-22784: Links to a page itself are not update...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 73f985858d19928994688b4cc06dfb96754b0106 https://github.com/xwiki/xwiki-platform/commit/73f985858d19928994688b4cc06df... Author: Vincent Massol <[email protected]> Date: 2026-10-01 (Thu, 01 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-test/xwiki-platform-flamingo-skin-test-docker/src/test/it/org/xwiki/flamingo/test/docker/RenamePageIT.java M xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-default/pom.xml M xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-default/src/main/java/org/xwiki/refactoring/internal/ResourceReferenceRenamer.java M xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-default/src/test/java/org/xwiki/refactoring/internal/ResourceReferenceRenamerTest.java Log Message: ----------- XWIKI-22784: Links to a page itself are not updated when moving or renaming the page (#6547) * Redirect the absolute references to the moved document itself (links, and images or links to its attachments) to the new location when updating the relative references of the moved document * Extract the computation of the new target (keeping space, page and attachment references as such) to share it between the absolute and relative cases * Add unit tests and extend RenamePageIT#renameWithRelativeLinks with an absolute self link, an absolute self image and a relative self link * Raise the jacoco instruction ratio of xwiki-platform-refactoring-default to 0.79 Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications