Page Copy is duplicating record
When using page copy method, the request is copied twice.
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.
The duplicated page is a side effect of the failing Apply-Parse-XML and can be avoided by asserting dynamic system setting SwitchToOldAssembler.
Perform the following local-change:
Prevent the Apply-Parse-XML error with the following dynamic system setting:
Owning Ruleset: Pega-IntegrationEngine
Published September 7, 2016 - Updated September 15, 2016