This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1e0a472d-6a24-40e8-918a-0f4bbf76220f XWIKI-22906 In Progress

The update object REST endpoint is modifying the cached document

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-979fb73a-4ba3-4122-bb41-b09e033d755c Thomas Mortagne created this issue on 20/Feb/25 14:52
 
Summary: The update object REST endpoint is modifying the cached document
Issue Type: cid:jira-generated-image-avatar-1e0a472d-6a24-40e8-918a-0f4bbf76220f Bug
Affects Versions: 16.10.3
Assignee: Unassigned
Components: REST
Created: 20/Feb/25 14:52
Priority: cid:jira-generated-image-static-major-0d75432a-2a02-4ec6-91ec-7a420e3cd6cf Major
Reporter: Thomas Mortagne
Description:

ObjectResourceImpl#updateObject is directly modifying the XWikiDocument from the cache (catched by XWIKI-22891), potentially causing various problems with other threads manipulating the same document during that time.

 
 

2 updates

 
cid:jira-generated-image-avatar-979fb73a-4ba3-4122-bb41-b09e033d755c Changes by Thomas Mortagne on 20/Feb/25 14:55
 
Assignee: Thomas Mortagne
Status: Open In Progress