Support Article
Blank value is being treated as false
SA-66853
Summary
When a blank value is compared to false, it fails the first time when the screen is loaded. This occurs when the 'Run Visibility condition on Client' is selected in Pega 7.3.1.
Dynamic layout visibility is set based on a text property value.
For example, (.pyDescription!='false')
When the property value is blank, the value is treated as false. This occurs only when the validation is run on the client side for the first time.
This works correctly once the condition is evaluated to true.
Error Messages
Not Applicable
Steps to Reproduce
- Set the layout visibility based on the (.pyDescription!='false') expression.
- Define the expression as 'Display the layout when property value not equal to false'.
Root Cause
A defect in Pegasystems’ code or rules.
The issue was related to the expression evaluation in templating.
Resolution
Apply HFix-45735.
Published April 3, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.