Branch: refs/heads/stable-14.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 0bc27d6ec63c8a505ff950e2d1792cb4f773c22e
https://github.com/xwiki/xwiki-platform/commit/0bc27d6ec63c8a505ff950e2d179…
Author: Michael Hamann <michael.hamann(a)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)
Commit: f140102575cbdbb5a517caf51270fa669df23667
https://github.com/xwiki/xwiki-platform/commit/f140102575cbdbb5a517caf51270…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M 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
* Remove mock() call not available in 14.10.x
* Use constants for user and document reference in the test
Compare: https://github.com/xwiki/xwiki-platform/compare/1e535db87ef9...f140102575cb
Branch: refs/heads/stable-15.5.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 56f5d8aab7371d5ba891168f73890806551322c5
https://github.com/xwiki/xwiki-platform/commit/56f5d8aab7371d5ba891168f7389…
Author: Michael Hamann <michael.hamann(a)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)
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: c5efc1e519e710afdf3c5f40c0fcc300ad77149f
https://github.com/xwiki/xwiki-platform/commit/c5efc1e519e710afdf3c5f40c0fc…
Author: Michael Hamann <michael.hamann(a)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.
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: f843e98bab30cbf96144862e54def7891d225126
https://github.com/xwiki/xwiki-platform/commit/f843e98bab30cbf96144862e54de…
Author: Thomas Mortagne <thomas.mortagne(a)gmail.com>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/filter/output/DocumentInstanceOutputFilterStream.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/test/MockitoOldcore.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/resources/filter/documentwithattachment1content.xml
M xwiki-platform-core/xwiki-platform-oldcore/src/test/resources/filter/documentwithattachment2content.xml
Log Message:
-----------
XWIKI-21801: Duplicate versions in history of documents not based on JRCS
Co-authored-by: trrenty <trrenty(a)gmail.com>