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

Using dynamic URLs for images in Jira causes preview bug

XMLWordPrintable

      Issue Summary

      Using dynamic URLs for the images is causing a bug in the preview. When opening an image preview in a new tab, it will load normally. However, after the image preview was opened for the second time in a new tab, if the user tries to reload the first image preview will end up not loading due to the change of the URL. 

      When using static URLs in the text area, this bug will affect it by not loading the images correctly.

      Steps to Reproduce

      1. Open an image attachment from a Jira issue.
      2. Open the image attachment with "Open Image in a New Tab".
      3. In a second tab of the browser, open the image attachment with "Open Image in a New Tab" again.
      4. Reload the second tab, the image will continue to work
      5. Try reloading the first tab, the image will not be displayed with an issue.

      Expected Results

      Be able to see the image attachment in the preview even with the dynamic URL, or by using static URLs.

      Actual Results

      The below exception is thrown in the first tab of the browser when reloading:

      Your issue couldn't be accessed
      It may have been moved, edited or deleted
      ERR_FILE_NOT_FOUND

      Workaround

      Use static URLs, or another method to resolve the issue.

              Unassigned Unassigned
              d6427b6fb657 Guilherme Bueno (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: