Support importing a page from the MS Word file with a different MIME type

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Page - Import
    • None
    • 1

      Issue Summary

      Confluence page import feature on MS Word can return 'file type does not match' error when the source file is of docx file.
      The expected MIME type for docx file is 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'.
      If a docx file has MIME type other than this, page import feature does not support the file.

      Steps to Reproduce

      1. Determine a source file that has a different MIME type (e.g. application\haansoftdocx)
        1. Mac Terminal
          1. File --mime-type -b InputFile.docx 
        2. Windows PowerShell
          1. Add-Type -AssemblyName System.Web
            [System.Web.MimeMapping]::GetMimeMapping("C:\Path\InputFile.docx")
      2. Import a page in word (.docx)
      3. The error message reads 'Only .DOCX files are supported We couldn't import the file you selected because it is the wrong file type. Select a different file to continue.'

      Expected Results

      • All files with the docx extensions are supported.
      • When the feature fails, the perceived MIME type is reported and prints the expected MIME file type.

      Actual Results

      Currently the failure says ' the file type does not match' even though the source file has the docx file extension.

      Workaround

      • Uninstall the MS Word substitute application and only leave the Microsoft Word to handle docx files.
      • Import it from another machine.
      • Upload the docx file to onedrive or convert to google docs to import the page.

            Assignee:
            Unassigned
            Reporter:
            Jinmo Yi (이진모) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: