Branch: refs/heads/stable-15.5.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 16bef6deaec4614b26a9e26e6bc9f49f72fcc274
https://github.com/xwiki/xwiki-platform/commit/16bef6deaec4614b26a9e26e6bc9…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/main/java/org/xwiki/model/reference/EntityReference.java
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-api/src/test/java/org/xwiki/model/reference/EntityReferenceTest.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-api/src/main/java/org/xwiki/security/internal/XWikiBridge.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/java/org/xwiki/security/internal/DefaultXWikiBridge.java
M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/test/java/org/xwiki/security/internal/DefaultXWikiBridgeTest.java
Log Message:
-----------
XWIKI-21439: Security Cache ConflictingInsertionException (#2673)
* Remove parameters from entity references when constructing a security reference.
* Add a method for removing parameters to EntityReference
* Make sure to keep entity references unmodified when possible
(cherry picked from commit c80c1ff8b8d668d7736343b2b49a2928ccd67792)