Support Article
Read Only execution behavior incorrect in Template mode
SA-98424
Summary
The editability of section takes precedence over the editability of harness in Pega 8. This behavior is contradicting to the behavior in Pega 7. A harness is present that is marked as Read Only. A few sections which are editable based on some conditions are configured in the harness. When the condition is false, the section becomes editable without considering the Read Only conditions applied on the harness.
Error Messages
Not Applicable
Steps to Reproduce
- Add a button to the section
- Launch harness with onClick event of the button
- Set the harness as Read Only
- Add the embedded section to the main section of the harness
- Set the Read Only condition of the section as the Read Only expression
- Observe the behavior when the condition evaluates to False
Root Cause
A defect in Pegasystems’ code or rules. Pega uses both Template and Non-Template modes of application on Pega 7.3 and later versions. The issue occurs with the Template mode and not with the Non-Template mode.
Resolution
This issue is addressed in the Pega 8.2.6 patch release.
Published August 7, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.