Branch: refs/heads/stable-15.5.x Home: https://github.com/xwiki/xwiki-platform Commit: 56f5d8aab7371d5ba891168f73890806551322c5 https://github.com/xwiki/xwiki-platform/commit/56f5d8aab7371d5ba891168f73890... 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. (cherry picked from commit c5efc1e519e710afdf3c5f40c0fcc300ad77149f)