There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b3c4db31-e17e-499e-9ba0-69cb93bf2cec XWIKI-22253 Open

Xar handler packager handles objects and attachments in translated documents as if they were in the original document (save, update)

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-dd00f412-c08c-44d1-93fb-80786717e3b6 Thomas Mortagne on 12/Jun/24 14:27
 

The hard part is knowing where is the cleanest location to fix that: it's not really correct to end up with an translated XWikiDocument contain xobjects and attachments, it's also not very correct for the store to take into account xobject and attachment when saving an XWikiDocument. Problem is that I'm sure we can find code which rely on those behaviors...

 
cid:jira-generated-image-avatar-dd00f412-c08c-44d1-93fb-80786717e3b6 Thomas Mortagne on 12/Jun/24 14:27
 
The hard part is knowing where is the cleanest location to fix that: it's not really correct to end up with an a translated XWikiDocument contain containing xobjects and attachments, it's also not very correct for the store to take into account xobject and attachment when saving an XWikiDocument. Problem is that I'm sure we can find code which rely on those behaviors...