Changes for page Attachments

Last modified by Vincent Massol on 2017/10/02

From version 28.1
edited by Vincent Massol
on 2017/09/06
To version 29.1
edited by Vincent Massol
on 2017/10/02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -57,8 +57,10 @@
57 57  The Filesystem attachment store saves your attachments in files in a directory tree. This means you will have one more thing to do when you back up your data but it also means you can save larger (over one gigabyte) files. Filesystem attachment store implements a two stage commit mechanism to maintain integrity even if the database fails to commit the attachment meta-data.
58 58  
59 59  {{error}}
60 -There is a [[bug>>https://jira.xwiki.org/browse/XWIKI-9065]] in XWiki, that prevents restoring attachments from the recycle bin via UI: you will find empty LiveTable. Attachment delete action brings new version to the document, so, the correct way to restore the attachment is to rollback to the necessary version. If you delete the document with the attachment and then click delete again to permanently expunge the document from history, the attachment will be removed from your system together
61 -One of the options to avoid mess with attachments in the filesystem until this bug would be fixed, just turn off recycle bin for attachments at all.
60 +The following limitations currently exist when using the filesystem for storing attachments:
61 +
62 +* There is a [[bug>>https://jira.xwiki.org/browse/XWIKI-9065]] in XWiki, that prevents restoring attachments from the recycle bin via UI: you will find empty LiveTable. Attachment delete action brings new version to the document, so, the correct way to restore the attachment is to rollback to the necessary version. If you delete the document with the attachment and then click delete again to permanently expunge the document from history, the attachment will be removed from your system together. One of the options to avoid mess with attachments in the filesystem until this bug would be fixed, just turn off recycle bin for attachments at all.
63 +* You must be on a case-sensitive Filesystem. For example if you're on Windows then you might have issue if you create pages with the same name but different case (e.g. ##abc## vs ##Abc##). XWiki is case-sensitive and will end up overwriting attachments if you have several pages with the same name (but different case).
62 62  {{/error}}
63 63  
64 64  === Enabling Filesystem attachment store ===
XWiki.XWikiComments[3]
Comment

Get Connected