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
- Perform a failing Apply-Parse-XML operation on a page to generate a Page List.
- Use Page-Remove to clear the embedded Page List property.
- Attempt to populate the Page List property with content from a different page through Page-Copy or Property-Set.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.