[Deprecated starting XWiki 10.5RC1] Enable Filesystem Attachment Store

Last modified by Ilie Andriuta on 2022/05/03 09:29

Home Other Tests Home Run Test

Steps to reproduce

  1. Edit the webapps\xwiki\WEB-INF\xwiki.cfg file:

    For XWiki versions < 9.10RC1:
    xwiki.store.attachment.hint = file
    xwiki.store.attachment.versioning.hint = file
    xwiki.store.attachment.recyclebin.hint = file
    For XWiki versions >= 9.10RC1:
    xwiki.store.attachment.hint = file
    xwiki.store.attachment.versioning.hint = file
    xwiki.store.attachment.recyclebin.content.hint = file
  2. Make sure these lines are not commented out (don't have an # at the start of each line)
  3. Start XWiki
  4. Create a new page (P1)
  5. Add some attachments to P1
  6. Go to data\storage\xwiki\P1\~this\attachments

Expected results

Inside data\storage\xwiki\P1\~this\attachments there are some folders that include the previously added attachments.

Note: if using Tomcat with MySQL, the folders will be found in TOMCAT_HOME\work\Catalina\localhost\xwiki\storage\xwiki\P1\WebHome\~this\attachments

Results

per page of Page
Jira Issue
The environment prevents the table from loading data.
 
Page

Get Connected