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

Page Copy is duplicating record

SA-27705

Summary



When using page copy method, the request is copied twice.

Error Messages



Caused by: com.pega.pegarules.pub.PRRuntimeException: Parse XML runtime failed. The reference MyPageListProperty() is not valid.
Reason: unexpected character ')' at position 12, expected subscript (wildcards not allowed)

Steps to Reproduce

  1. Perform a failing Apply-Parse-XML operation on a page to generate a Page List.
  2. Use Page-Remove to clear the embedded Page List property.
  3. Attempt to populate the Page List property with content from a different page through Page-Copy or Property-Set.
  4. Observe that the Page List property gets populated with two copies of the page.

Root Cause



The duplicated page is a side effect of the failing Apply-Parse-XML and can be avoided by asserting  dynamic system setting SwitchToOldAssembler.

Resolution



Perform the following local-change:
Prevent the Apply-Parse-XML error with the following dynamic system setting:

Purpose: SwitchToOldAssembler
Owning Ruleset: Pega-IntegrationEngine
Value: true

Published September 15, 2016 - 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?

Want to help us improve this content?

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
Contact us