Hi!
Xwiki 3.1. Attachment versioning turned off (xwiki.store.attachment.versioning.hint =
void)
Storage is set to file system, Recicle Bin is ON.
1. xwiki/bin/view/Main/AllDocs?view=attachments - gives empty table. How one can see all
attachments in a Live table?
2. To verify attachment versioning: attach several times the same file - one copy is
stored as a file in a storage, version upgrades correctly - no problem.
3. I deleted an attachment. It shoild be in recycle bin:
~GLOBAL_DELETED_ATTACHMENT_ID_MAPPINGS.xml appeared in /store folder.
XML inside shows were to find files. Files are on their places as descriebed.
BUT
Recycle bin gives terrible surprise: it stores TWO COPIES of deleted file:
first is: <filename>.<extension>
second is: <filename>~v1.1.<extension>
Please note, that attachment VERSIONING is turned OFF. For big attachments (1GB and more)
such a behaviour is a disaster for two reasons:
- unreasonable disk space consumption
- (probably) huge delay while user deleting attachment.
What is correct way to disallow XWiki such file duplication?
4. XWiki.DeletedAttachments gives empty table. How one can see all deleted attachments
in a Live table?
Thanks a lot
Dmitry Bakbardin