This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-495b24b1-6769-4a60-a143-51865215065f XWIKI-22782 Open

Only save modified xobjects

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-27436a39-267d-45fe-b1af-08bcf2504340 Thomas Mortagne created this issue on 14/Jan/25 14:47
 
Summary: Only save modified xobjects
Issue Type: cid:jira-generated-image-avatar-495b24b1-6769-4a60-a143-51865215065f Improvement
Affects Versions: 16.10.2
Assignee: Unassigned
Components: Old Core
Created: 14/Jan/25 14:47
Priority: cid:jira-generated-image-static-major-180afed7-3977-4686-96a8-8d5b052bf935 Major
Reporter: Thomas Mortagne
Description:

The idea is to try to save only the xobjects which were modified or new xobjects.

This would help a lot to mitigate the save part of XWIKI-2874 for use cases where a tiny part of the document is modified (like just adding or removing some user from a group).

In practice, it means keeping track of updates made to BaseObject like we do with XWikiDocument or attachments, and when saving the document only save "dirty" xobjects.