This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-3fe36bec-61e6-4b35-a175-cf29c8e8a69a XWIKI-22905 In Progress

The add object REST endpoint is modifying the cached document

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-fbceb099-0eb2-4325-ab51-12ba6fde2617 Thomas Mortagne created this issue on 20/Feb/25 14:47
 
Summary: The add object REST endpoint is modifying the cached document
Issue Type: cid:jira-generated-image-avatar-3fe36bec-61e6-4b35-a175-cf29c8e8a69a Bug
Affects Versions: 16.10.3
Assignee: Unassigned
Components: REST
Created: 20/Feb/25 14:47
Priority: cid:jira-generated-image-static-major-c9085ad5-4055-4a1b-b045-7f58b50f3626 Major
Reporter: Thomas Mortagne
Description:

ObjectsResourceImpl#addObject 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-fbceb099-0eb2-4325-ab51-12ba6fde2617 Changes by Thomas Mortagne on 20/Feb/25 14:47
 
Assignee: Thomas Mortagne
Status: Open In Progress