Support Article

On upgrade the activity with PAGE-REMOVE step is failing

SA-33999

Summary



User has upgraded their environment from Pega7.1.7 to Pega 7.2.
After upgrading, the activity containing the Page-Remove step is failing and unable to proceed the flow.

Note that the same activity was working fine in Pega 7.1.7.



Error Messages



Logs show below exception:

com.pega.pegarules.pub.PRRuntimeException: Exception caught in Rule-OBJ-Activity AB-FW-CDE-WORK- TESTACTIVITYGROUPINFO#20161116t140315.697 gmt AT STEP 8.
at com.pegarules.generated.activity.ra_action_tesctactivitygroupinfo_39a575b2af9701ad0e965189c43000b9.step8_circum0(ra_action_tesctactivitygroupinfo_39a575b2af9701ad0e965189c43000b9.java:648)
at com.pegarules.generated.activity.ra_action_tesctactivitygroupinfo_39a575b2af9701ad0e965189c43000b9.perform(ra_action_tesctactivitygroupinfo_39a575b2af9701ad0e965189c43000b9.java:226)
...............................................

Caused by:
com.pega.pegarules.pub.PRRuntimeException: copiedPage is a not a parent of this copied reference property.
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator$PropertyCopyOperation.findDistanceBetweenRefPropertyAndCopiedPage(AfterCopy_ReferencePropertyDuplicator.java:87)
at com.pega.pegarules.data.internal.clipboard.AfterCopy_ReferencePropertyDuplicator


Steps to Reproduce



Create an activity with multiple Page-Remove methods and execute them.

Root Cause



A defect in Pegasystems’ code or rules.

PropertyDataPageWrapper was creating duplicate references whenever there is Page-remove and Property-Remove involving some embedded reference properties.



Resolution



Apply HFix-31944.

Published February 21, 2017 - Updated March 9, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.