Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Unresolved
-
Xray Cloud 16.20.0
-
None
-
Xray Cloud
-
Standard
-
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
- duplicates
-
XCC-3711 Loading...