I noticed that in Roadmap, XWiki version 10.2 will “Finish moving to FS-based attachments by default” and the work is already done actually.
I’m going to set up a new site using XWiki 10.1 (since 10.2 will not be ready this week) and I may update it after XWiki 10.2 releases. I would like to update to be smooth and would you please tell me how to adjust the “xwiki.cfg” to make sure the attachments are stored in the way XWiki 10.2 will be?
# Attachments being also stored in the deleted documents it's safer to also enable filesystem storage for it too
xwiki.store.recyclebin.content.hint = file
I wonder what is the different between xwiki.store.attachment.recyclebin.content.hint and xwiki.store.recyclebin.content.hint. Should this xwiki.store.recyclebin.content.hint be set to “file” too?
So in order to have the same storage configuration as it will be in XWiki 10.2, all I have to do is to set the following 4 lines to “file”. Am I right?
#-# Stores with both “hibernate” and “file” support by default. #-# #-# [Since 9.0RC1] The default document content recycle bin storage. Default is hibernate. #-# This property is only taken into account when deleting a document and has no effect on already deleted documents. xwiki.store.recyclebin.content.hint=file #-# The attachment storage. [Since 3.4M1] default is hibernate. xwiki.store.attachment.hint=file #-# The attachment versioning storage. Use ‘void’ to disable attachment versioning. [Since 3.4M1] default is hibernate. xwiki.store.attachment.versioning.hint=file #-# [Since 9.9RC1] The default attachment content recycle bin storage. Default is hibernate. #-# This property is only taken into account when deleting an attachment and has no effect on already deleted documents. xwiki.store.attachment.recyclebin.content.hint=file