Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.0 M2
-
None
-
Unknown
-
Description
When the document dirty flag is false, the filesystem attachment store assume the attachment contains the archive. Problem is that the archive is supposed to be lazy loaded, so AttachmentSaveTransactionRunnable should use the right getAttachmentArchive(XWikiContext) API instead of getAttachment_archive() to know if the attachment has an archive.
The workaround is to load the attachment archive before saving the document.
Attachments
Issue Links
- causes
-
REPLICAT-164 When modifying an existing attachment the other instances seems to loose that attachment
- Closed