Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Field is editable instead of read-only with blank property value

SA-59708

Summary



The field displays as editable when it uses a read-only expression as false value of a property. The system does not consider a blank value as false and hence, displays the field in the editable mode. However, this worked in Pega 7.1.8.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a section
  2. Add a field for an input and add a read-only expression with a condition as false to a different property
  3. Enter a blank value for the property in read-only expression and check the sectionThe input filed is editable


Root Cause



A defect in Pegasystems’ code or rules.
The execution of the handleEvaluateWhen and evaluateWhen expressions are different. The handleEvaluateWhen expression does not consider blank values as false while evaluateWhen considers it.

Resolution



Perform the following local-change:

In the read-only expression change
.checkboxproperty==false  to (.CheckboxProperty==False||.CheckboxProperty=="") 


 

Published August 24, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us