Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-36632

Document Conversion Library Tries to Provide a Preview for Unsupported File Types which is confusing

    • 11
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Summary

      Document Conversion Library tries to convert and preview unsupported file types. This results in unsupported files to display an error when we click on the attachment link in the Confluence page.

      Steps to reproduce

      1. Attach a *.zip file to a page
      2. Provide a link the attachment
      3. Clicking the link will result into an error
        We can't preview this file.
        You'll have to download the file to view it.
      4. Checking the Network requests, an error is found on the :path:/wiki/rest/documentConversion/0.1/conversion/convert/...
        415 Unsupported Media Type

      **Note: This includes other unsupported file types (i.e .har, .exe)

      Workaround

            [CONFCLOUD-36632] Document Conversion Library Tries to Provide a Preview for Unsupported File Types which is confusing

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3423158 ] New: JAC Suggestion Workflow 3 [ 3606624 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2254910 ] New: JAC Suggestion Workflow [ 3423158 ]
            Status Original: Needs Verification [ 10004 ] New: Gathering Interest [ 11772 ]
            SET Analytics Bot made changes -
            Support reference count New: 11
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2151712 ] New: Confluence Workflow - Public Facing v3 [ 2254910 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1906899 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2151712 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1806487 ] New: Confluence Workflow - Public Facing v3 [ 1906899 ]
            jonah (Inactive) made changes -
            Description Original: h4. Summary
            *Document Conversion Library* tries to convert and preview unsupported file types. This results in unsupported files to display an error when we click on the attachment link in the Confluence page.

            h4. Steps to reproduce
            # Attach a *.zip file to a page
            # Provide a link the attachment
            # Clicking the link will result into an error
            {code}We can't preview this file.
            You'll have to download the file to view it.{code}
            # Checking the Network requests, an error is found on the {{:path:/wiki/rest/documentConversion/0.1/conversion/convert/...}}
            {code}415 Unsupported Media Type{code}

            ***Note*: This includes other unsupported file types (i.e .har, .exe)

            h4. Workaround
            * There is a macro that (provided by Scott Selberg below) that provides a direct download link. This can be downloaded from https://bitbucket.org/selberg/download-attachment/overview
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *Confluence Cloud*. Using *Confluence Server*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFSERVER-36632].
              {panel}

            h4. Summary
            *Document Conversion Library* tries to convert and preview unsupported file types. This results in unsupported files to display an error when we click on the attachment link in the Confluence page.

            h4. Steps to reproduce
            # Attach a *.zip file to a page
            # Provide a link the attachment
            # Clicking the link will result into an error
            {code}We can't preview this file.
            You'll have to download the file to view it.{code}
            # Checking the Network requests, an error is found on the {{:path:/wiki/rest/documentConversion/0.1/conversion/convert/...}}
            {code}415 Unsupported Media Type{code}

            ***Note*: This includes other unsupported file types (i.e .har, .exe)

            h4. Workaround
            * There is a macro that (provided by Scott Selberg below) that provides a direct download link. This can be downloaded from https://bitbucket.org/selberg/download-attachment/overview
            jonah (Inactive) made changes -
            Link New: This issue is related to CONFSERVER-36632 [ CONFSERVER-36632 ]
            vkharisma made changes -
            Project Import New: Sat Apr 01 14:06:06 UTC 2017 [ 1491055566265 ]
            Katherine Yabut made changes -

              Unassigned Unassigned
              namir Nursihah Amir (Inactive)
              Votes:
              30 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated: