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

Evidence deletion fails because file no longer exists in S3

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 6.11.0 | release/6.11.0
    • None
    • Attachments, Test Run View
    • None
    • Cloud

    • UNCOVERED

    Description

      In some cases, when users try to delete an evidence from a Test Run Step, the deletion never completes, Xray keeps showing a spinning loading icon. Sometimes, the evidence seems to disappear after pressing the trash icon, but reappears once the page is refreshed.

      This happens because the deletion process only completes partially: the file is successfully removed from AWS S3, but the database entry remains. Although rare, this can cause inconsistencies in Xray, where an evidence still appears in the Test Run but can no longer be removed.

      Expected Behavior

      Deleting an evidence should remove it completely and consistently, both from AWS S3 and from the Test Run record in the database. If either step fails, the operation should stop and return an error message, rather than appearing to succeed or leaving Xray in a loading state.

      Attachments

        Activity

          People

            bernardo.cottim Bernardo Cottim
            angela.coel Angela Coelho
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: