Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-80536

Cannot preview a password protected file, error shows Something Went Wrong

    • 1
    • 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.

      Issue Summary

      When clicking on a password-protected file like pdf to see the preview, it shows an error that says "Something went wrong. We couldn't generate a preview for this file. Could not load image, the format is invalid. Try downloading the file to view it. 

      Note: This behaviour is different from the old issue view. In old issue view, a prompt will appear for the user to enter their password and preview the file without downloading.

      Steps to Reproduce

      1. Attach a password protected file in a Jira issue.
      2. To preview, click on the file

      Expected Results

      Show a prompt to enter the password and preview the file, without the need to download.

      Actual Results

      The below prompt is shown instead without asking for the password to allow preview of the file. 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available.

      It's possible to download the file and be able to enter the password to view the file on your local computer.

        1. image-2023-02-16-17-24-12-244.png
          54 kB
          Alexis
        2. image-2023-02-16-17-24-24-360.png
          54 kB
          Alexis
        3. image-2023-02-16-17-25-31-906.png
          109 kB
          Alexis
        4. image-2023-02-16-17-28-52-598.png
          109 kB
          Alexis

            [JRACLOUD-80536] Cannot preview a password protected file, error shows Something Went Wrong

            Evern Fong added a comment -

            Evern Fong added a comment - Hi 1854e672bf35 it is a bug at this URL- https://jira.atlassian.com/browse/JRACLOUD-74522

            John Rocha added a comment -

            How is this a suggestion? 

            This is a regression BUG.

            It used to work, now it does not.

            When functionality stops working that's called a regression bug

            John Rocha added a comment - How is this a suggestion?  This is a regression BUG. It  used to work, now it does not. When functionality stops working that's called a regression bug

            naruhito.chihara.ts added a comment - - edited

            From point of security,  "Download file" is more dangerous than "preview" in general.

            naruhito.chihara.ts added a comment - - edited From point of security,  "Download file" is more dangerous than "preview" in general.

              Unassigned Unassigned
              6b2430609069 Alexis
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: