Support Article

OOTB Properties are throwing Errors while submitting the case

SA-34816

Summary



Few existing flows which are working fine previously started throwing errors while submitting the case. This is happening after installing Hfix-28843.

Error Messages



**The page contains an undefined property: pyWorkPage.IsDataPageRefreshed
Validation failed: Errors Detected.
.pyAttachments(1): Validation failed: Errors Detected.
.pyAttachments(1).pyAttachmentContent: The page contains an undefined property: pyWorkPage.pyAttachments(1).pyAttachmentContent.pxAttachName
Validation failed: Errors Detected.

Steps to Reproduce



Not Applicable


Root Cause



A defect in Pegasystems’ code or rules

Hfix-28843 and Hfix-24122 contains changes so that few properties are populated in some clipboard pages. Those properties are not present in the corresponding class of the clipboard page, which are throwing errors when any validation is fired on pyWorkPage. The user has a page-change-class in their design which runs the validation on pyWorkPage.

Resolution



The local change contains two steps:
  1. Create IsDataPageRefreshed in @baseclass.
  2. Change the pyGetAttachmentContent so that one more step is added. This is an available rule, you can save as it to your ruleset.
Please refer the screenshot below which already contains the change.



The first step creates one missing property and the second step, changes the class of pyAttachment.pyAttachmentContent so that it points to specific attachment class instead of Data- and hence solving the issue.

Published March 10, 2017


66% found this useful

Have a question? Get answers now.

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