[xwiki/xwiki-platform] 9d5932: XWIKI-25208: Updating a project or an extension in...
Branch: refs/heads/xwikiorg Home: https://github.com/xwiki/xwiki-platform Commit: 9d59327b238df35114f79913a89438c4af9e3755 https://github.com/xwiki/xwiki-platform/commit/9d59327b238df35114f79913a8943... Author: Thomas Mortagne <[email protected]> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/ExtensionUpdaterListener.java M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/ProjectImportFinishedEvent.java M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/ProjectUpdaterListener.java A xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/test/java/org/xwiki/repository/internal/ExtensionUpdaterListenerTest.java A xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/test/java/org/xwiki/repository/internal/ProjectUpdaterListenerTest.java Log Message: ----------- XWIKI-25208: Updating a project or an extension in the repository may be reverted by the concurrent last-version update of the page (#6743) * Ignore remote events in ProjectUpdaterListener and ExtensionUpdaterListener: in a cluster, the other member was reacting to the version page events of the import outside of the import guard and saving the project/extension page from its outdated cache * Fix ProjectImportFinishedEvent matching ExtensionImportStartingEvent instead of ProjectImportStartingEvent * Add unit tests for both listeners Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 117475c6cf6c8a9186e842392fef4ebda4c1edcf) (cherry picked from commit 5c3a73540253bdd478487c61202cb6a2f3527b51) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications