Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-11049

Image previews fail to load in Test Steps and Actual Results sections, displaying a "we couldn't load this content" error.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Unresolved
    • Xray Cloud 16.20.0
    • Xray Cloud 16.21.0
    • Attachments
    • None
    • Xray Cloud

    • Standard
    • UNCOVERED

    Description

      Issue Description
      Image previews and attachments fail to display within Test Steps and Actual Results, displaying the error message "we couldn't load this content."
      While checking the Console logs, there is an error stating -

       

      TypeError: Cannot read properties of undefined (reading 'Sha1')
          at new Ge (@atlaskit-internal_media-card-with-media-client.2c8b807e97824c2224b2.js:233:21754)
          at Re (@atlaskit-internal_media-card-with-media-client.2c8b807e97824c2224b2.js:233:23839)
          at @atlaskit-internal_media-card-with-media-client.2c8b807e97824c2224b2.js:233:24088
          at Object.useMemo (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:58790)
          at n.useMemo (xray_vendor_dll.2c8b807e97824c2224b2.js:15251:6430)
          at qe (@atlaskit-internal_media-card-with-media-client.2c8b807e97824c2224b2.js:233:24069)
          at Xu (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:53506)
          at hv (xray_vendor_dll.2c8b807e97824c2224b2.js:16252:8800)
          at pd (xray_vendor_dll.2c8b807e97824c2224b2.js:16252:917)
          at Il (xray_vendor_dll.2c8b807e97824c2224b2.js:16252:840)
          at Js (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:92698)
          at xray_vendor_dll.2c8b807e97824c2224b2.js:16250:39349
          at KqkS.n.unstable_runWithPriority (xray_vendor_dll.2c8b807e97824c2224b2.js:4258:3962)
          at Jo (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:39035)
          at pl (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:39288)
          at Xs (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:39221)
          at vi (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:89162)
          at Object.enqueueSetState (xray_vendor_dll.2c8b807e97824c2224b2.js:16250:43394)
          at M.setState (xray_vendor_dll.2c8b807e97824c2224b2.js:15251:1231)
          at K (xray_vendor_dll.2c8b807e97824c2224b2.js:2219:11151)
          at xray_vendor_dll.2c8b807e97824c2224b2.js:2219:11258 

       
      Preconditions
      The target Test or Test Run page contains step attachments or images.

      Steps to Reproduce
      1. Navigate to a Test or Test Run page containing attached media.

      2. Scroll to the Test Steps or Actual Results section.

      3. Observe the image preview.

      Expected Result
      Image previews should load successfully and display the correct visual content.

      Actual Result
      Image previews fail to render and show the error: "we couldn't load this content."

      Environment
      Version: 16.20.0

      Workaround
      Click directly on the attachment link or file name to download/open the image in a new tab.

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              kiran.kumar C Kiran Kumar
              Votes:
              73 Vote for this issue
              Watchers:
              70 Start watching this issue

              Dates

                Created:
                Updated: