Details
-
Bug
-
Status: Waiting for Validation
-
Major
-
Resolution: Unresolved
-
None
-
Xray 2024 S9, Xray 2024 S10
-
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
- duplicates
-
XRAY-6839 In testExecutionTests Jql function, a StackOverflow occurs when executing JQL using saved filter as argument
- Waiting for Validation
- relates to
-
XRAY-6839 In testExecutionTests Jql function, a StackOverflow occurs when executing JQL using saved filter as argument
- Waiting for Validation
-
XRAY-10168 DefectsCreatedDuringTestExecution and DefectsCreatedDuringTesting JQL functions causing StackOverflowError
- Waiting for Validation