Support Article
Checkbox cntrl: Caption Click In Section Sets Wrong Property
SA-34914
Summary
In a section where multiple checkboxes reference the same property name on different pages, clicking the labels for the checkboxes can cause a different checkbox to be checked or unchecked.
Error Messages
Not Applicable
Steps to Reproduce
- Create a section with two checkbox controls.
- Make Checkbox 1 is reference TopPage1.PropertyNameX. Checkbox 2 is referencing TopPage2.PropertyNameX.
- Ensure that TopPage1 and TopPage2 have the same class, so both pages have the PropertyNameX in their class.
- Click on the checkboxcaption (so not the checkbox itself) of checkbox 2, the checkbox-value of checkbox 1 is changing from TRUE to FALSE and vice versa.
Root Cause
ID generation for only uses property names so if a property with the the same name (but in different pages) appears on the screen multiple times the actions performed when clicking the labels get actions on the first checkbox.
Resolution
Apply HFix-32684 for Pega 7.2.2.
Published March 26, 2017 - 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.