Support Article
Issue with Declare expressions while geting data frm pyWorkCover
SA-6935
Summary
User have a declare expression .SumOfEmployeePremiums defined in a data class (Pegains-data-Quote) which will be running in pyWorkPage.ApplicationPage.Quotes context. We have a page list in pyWorkCover called Census.
Expression name: SumOfEmployeePremiums
Class: Pegains-data-quote
Accessing pyWorkCover.SubmissionData.ActiveCensusFile.Census().EmpPremium
Error Messages
Can not be null. Details: Invalid value for aDirectory passes to Property.getTopPage(ClipboardPage, PageDirectory, Clipboardpage)
Steps to Reproduce
Login into the PRPC isntance.
Open work item . Click on any of the BEN sub cases BEN-225 or BEN-224. Click submit in the 1st assignment.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules.
PropertyReferenceImpl.filter() API is throwing exception when directory is null for changes. Directory will be null if a copy of top level page is made.
As part of hot fix, PropertyReferenceImpl.filter() API is modified to use PRThread as directory if page directory is null.
Resolution
This issue is resolved by hotfix item HFix-21059
Published January 31, 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.