Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.0-rc-1
-
Windows 10 Pro 64 bit, Chrome v.62, Firefox v.56, IE v.11, using a local instance XWiki 9.8.1 on ORACLE 11.2
-
Unit
-
Trivial
-
N/A
-
N/A
-
-
Code
Description
Issue
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)
EXPECTED RESULTS
The attachments are filtered properly (only the files of the selected type are displayed).
ACTUAL RESULTS
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.
Links
Attachments
Issue Links
- is duplicated by
-
XWIKI-15127 Attachment filter by type fails to filter images and text documents
- Closed
- is related to
-
XWIKI-13928 Explicit attachment mime type is lost when importing a XAR
- Closed
-
XWIKI-14615 Improve the Attachment Index
- Closed
- relates to
-
XWIKI-15310 Some attachments disappear from attachment-cache after a period of time
- Closed
-
HELPCENTER-14 Help application default attachments appear in the Attachments Index but they can't be sorted / filtered by Type
- Closed
-
XWIKI-19404 Some default attachments from the Help application appear in the Attachments Index but they can't be sorted / filtered by Type
- Closed
-
XCOMMONS-1444 Verify that attachments have their mimetypes set in the XAR Verify Mojo
- Closed
-
XWIKI-11612 Store the attachment mime type in the database instead of recalculating it each time it's required
- Closed