Preconditions: A fresh instance of XWiki should be available.
STEPS TO REPRODUCE:
- Go to Page Index > Attachments Tab
- From the 'Type' Drop-down box, select a file type to filter the attachments (e.g. Image)
The attachments are filtered properly (only the files of the selected type are displayed).
No file is displayed. However, the filter works for the user attached files (which have the mime type set).
This is because the mimetype is not explicitly defined in Sandbox wiki XML which are part of the XAR package. They need to be added.