[xwiki/xwiki-platform] c9eddc: XWIKI-22784: Links to a page itself are not update...
Branch: refs/heads/XWIKI-22784 Home: https://github.com/xwiki/xwiki-platform Commit: c9eddc42a135da968330d05e4bf15cf7056d2a0f https://github.com/xwiki/xwiki-platform/commit/c9eddc42a135da968330d05e4bf15... 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 * 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 and self image * 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