Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-6436

Test Runs Summary gadget, returns an "Internal server error-duplicate key" when filtering Tests that use the same component name, from different projects

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.6.6, 4.1.5
    • 4.2.6
    • Report
    • XRAY 2021 Sprint 1

    Description

      When filtering Tests from different projects, if the Tests are using the same Components name, an error "Internal server error-duplicate key" is displayed.

      Steps to replicate

      • Pre-Condition- Create Components with the same name (Android) in 2 different projects (PROJA and PROJB)
      Step Result
      Create one Test in the PROJA and another one in the PROJB, using the same Component name "Android" and Execute them individually
      Create one filter to get the Executions from both projects, to use in the Test Runs Summary gadget
      Add new gagdet Test Runs Summary, using the created filter and Group the results by Component
      Error returned

      Stack trace in the logs:

      Attachments

        Activity

          People

            Unassigned Unassigned
            maaf Miguel Fernandes
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h