Support Article
Property auto populate executes in Page-Copy
SA-69606
Summary
A page is configured with an auto-populate property (copy data from a data page) of type page list. When copying a page with autopopulate to another page, the values are reloaded and appended to the new page's property.
Error Messages
Not Applicable
Steps to Reproduce
- Create a .StateList property which is a page list.
- Set data access to 'Copy data from data page'.
- Create a PageA and refer the.StateList property (which loads some states, for exmpale, eight states).
- Copy PageA to PageB. The.StateList autopopulate is reexecuted on the page copy. StateList now has 16 states.
Root Cause
A defect in Pegasystems’ code or rules.
During page copy, when the source property is added to the target property, the target property performs getThis() (mimic), which triggered the autopopulate initially. Hence, the actual source property is added to the property. Therefore, two indexes are present in the target property. First is the record from the data page and second is the source page. Ideally, putCopy should not trigger autopopulate.
Resolution
Apply HFix-49367.
Published March 2, 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.