Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: c5efc1e519e710afdf3c5f40c0fcc300ad77149f https://github.com/xwiki/xwiki-platform/commit/c5efc1e519e710afdf3c5f40c0fcc... Author: Michael Hamann <michael.hamann@xwiki.com> Date: 2024-01-16 (Tue, 16 Jan 2024) Changed paths: A xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/DocumentOverrideListener.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt A xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/DocumentOverrideListenerTest.java Log Message: ----------- XWIKI-21553: Do not override existing documents on user action (#2790) * Introduce a new listener to cancel any save that would delete the document. * Add a unit test.