Version: SU13 - 1.34.16.0
Frequency: Consistently
Severity: Blocker
Context: Creating an XML Template
Bug description: Using “Contains” doesn’t work and always returns true even if there is no match
<Condition Check="TEST_PARAM" Contains="foobar">
<True>
[...]
</True>
</Condition>
Attachments:
Boris
2
Hello @runshotgun ,
The condition “Contains” is not meant to be a partial check of a value but rather to determine if a contains a parameter.
The documentation will be updated
Regards,
Boris
@Nocturne FYI
Wouldn’t this be what “Valid” is for?
Boris
4
Hello,
Apologies for the (very) late reply,
Valid
is used for conditions, and it checks whether a parameter is present and not equal to 0 or false.
Hope it helps
Regards,
Boris