Support Article
Section ready only condition precedence
SA-3816
Summary
After upgrading from Pega 6.1 to Pega 7.1.5 the child section read only condition suppresses the parent sections read only criteria.
In Pega 6.1 the parent sections read only criteria takes precedence over the child sections
Steps to Reproduce
Create a section and set the ready only attribute to "Always"
Create another section and include it into the first section.
Set second sections read only attribute to a when condition
Root Cause
The root cause of this problem is software use/operation error.
User has three sections (Let us say 'child','parent' and ' grandparent'). Child is included in parent and configured read only conditionally (Condition1). Now, parent included in Grandparent section with read only always (Condition2). Now, the parent section’s read only condition (Conditon2) gets suppressed by child section’s read only condition (Condition1) only if the section has Custom Control. The issue is not reproducible with Out-of-the-box (OOTB) controls.
Custom control is the root cause of the issue
Resolution
Local-change: Use OOTB control 'Dropdown' instead of the custom control. It is always recommended to use OOTB controls to avoid this issue while upgrading the application from lower version of PRPC to higher version of PRPC.
Published January 31, 2016 - 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.