Error while opening a class instance.
User has migrated from Pega 7.2.2 to Pega 7.3 with Pega Customer Service 7.22, after that when a class definition is opened from application explorer the following error occurs.
Save Failed: Trying to save an invalid page: The page contains an undefined property: NewFWWorkTypeClass.pyRecordHistorySnapshots Validation failed: Errors Detected. Trying to save an invalid page: page is not valid.
Steps to Reproduce
- Go to Designer studio.
- Open the App Explorer.
- Right click on the Class and select the Definition option.
The error is already stored in the class.
Further investigation suggests that the original error was stored in the classes during the use of the application accelerator. Notice the mention of NewFWWorkTypeClass in the error message. That happens to be the name of the step page used in activity Rule-Obj-Class.pzCopyFrameworkWorkType in step 11 where it does the page-new with the comment saying "New page for the FW work type".
- Private edit the @baseclass.BulkValidateSave.
- Add a Page-Clear-Messages step after the Obj-Open-By-Handle method call (After 2nd step).
- Save the activity.
- Run Revalidate and Save utility on effected classes.
Published October 13, 2017 - Updated December 2, 2021
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.