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

TestStepImport may map incorrect IDs due to ManualTestStepsChangeEvent

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • R3.4.0
    • None
    • None
    • R3.4.0 S7
    • OK

    Description

      TestStepImport may map incorrect step ids due to the event.

      This event is caught by a listener which fixes the step indexes/ranks.

      The TestStepImport creates one step at a time and there is no guarantee that it receives the steps ordered by index. Each time a step is created, the event is thrown.

      If the TestStepImport creates, in the first place, a step with index 3. The event listener will fix the index, setting it to 1. This leads to steps in incorrect index, which leads to incorrect step id mappings.

      Attachments

        Activity

          People

            gbml Goncalo Lima
            dmdu David Duarte
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 2 days, 5 hours, 35 minutes
                2d 5h 35m