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

ManualTestsWithoutSteps and TestSetPartiallyIn JQL functions causing StackOverflowError

    XporterXMLWordPrintable

Details

    • Xray 2024 S9, Xray 2024 S10
    • OK

    Description

      StackOverflow when executing JQL using saved filter as argument.

      When defining a saved filter using a custom JQL that takes another saved filter as argument, it is possible to create a loop leading to a stack overflow.

      E.g.:

      create saved filter f1 = issue in manualTestsWithoutSteps(CALC-1)

      create saved filter f2 = issue in manualTestsWithoutSteps(f1)

      edit saved filter f1 = issue in manualTestsWithoutSteps(f2)

      Now f1 depends on f2 and f2 depends on f1, creating a loop.

       

      E.g.:

      create saved filter f1 = issue in testSetPartiallyIn(CALC-1)

      create saved filter f2 = issue in testSetPartiallyIn(f1)

      edit saved filter f1 = issue in testSetPartiallyIn(f2)

      Now f1 depends on f2 and f2 depends on f1, creating a loop.

      Attachments

        Issue Links

          Activity

            People

              patricia.mateo Patricia Mateo
              antonio.rodrigues António Rodrigues
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: