Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14803

The files attached by default to the Sandbox pages and several other pages don't have the mime type set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0-rc-1
    • Fix Version/s: 10.6-rc-1, 9.11.8
    • Component/s: Sandbox
    • Labels:
    • Environment:
      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
    • Tests:
      Unit
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:
    • GCI categories:
      Code

      Description

      Issue

      Preconditions: A fresh instance of XWiki should be available.

      STEPS TO REPRODUCE:

      1. Go to Page Index > Attachments Tab
      2. 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

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: