Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
2.2
-
None
-
None
Description
With 1.6 we used this
#if ( ! "$!testrun" == "true" ) ... #end
This ensures that the code is only executed if current run is not a testrun ($testrun false or empty).
Sine update to 2.2 this does not to work.
In my case $testrun was false, but code was not executed.
To get this to work I had to use brackets around the equals-check
#if ( ! ("$!testrun" == "true") ) ... #end
This breaks the logic of a lot of templates...