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

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

  1. Create a .StateList property which is a page list.
  2. Set data access to 'Copy data from data page'.
  3. Create a PageA and refer the.StateList property (which loads some states, for exmpale, eight states).
  4. 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

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?

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