Closed Mortimal closed 5 years ago
When there is ( ) inside any condition as part of a string if statement works incorrect
Runner.pm -> sub parse_and_check_condition_text (and subs it is calling) -> line 1212
Getting error in comparison statements
Condition must be met
Condition not met
macro testme{ $va1 = isatext log $va1 $va2 = (isatext) log $va2 if ($va1 == "isatext") { log correct } if ($va2 == "(isatext)") { log error here } }
Need to be rewritten all logic of conditions parsing
1 You fix this... 2 Bug disappear... 3 ......... 4 Profit!
Summary:
When there is ( ) inside any condition as part of a string if statement works incorrect
Affected configuration(s)/ file(s):
Runner.pm -> sub parse_and_check_condition_text (and subs it is calling) -> line 1212
Impact:
Getting error in comparison statements
Expected Behavior:.
Condition must be met
Actual Behavior:
Condition not met
Steps to Reproduce:
Request
Summary:
Need to be rewritten all logic of conditions parsing
Affected configuration(s)/ file(s):
Runner.pm -> sub parse_and_check_condition_text (and subs it is calling) -> line 1212
Benefits:
1 You fix this... 2 Bug disappear... 3 ......... 4 Profit!