Support Article

CaseOverview not displayed

SA-36167

Summary



User creates a case and after running the case the user clicks on "Edit Details" option from Other Actions Menu.

On clicking Edit Details, the section does not display.

The section contains a Repeating Grid and various other layouts. Source of Repeating Grid is "Page List".

In the Case Type, the Page List "Holdings" is added to Data Model tab correctly.

Error Messages



2017-03-08 11:16:47,268 [ttp-bio-8080-exec-86] [TABTHREAD1] [ ] [CorpActions:01.01.01] (ISETUPFIELDS._baseclass.Stream) ERROR xx.xx.xx|xx.xxx.xxx.xxx xx@xx - Section 'pzDynamicUISetupFields' execution error on page 'pyWorkPage' of class 'PegaSC-CorpActions-Work'.
com.pega.pegarules.pub.clipboard.WrongModeException: The property pyWorkPage.Holdings was of mode Page List while PegaSC-Data-Holdings.setAsReference was expecting String mode. Details: (none)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setAsReference(ClipboardPropertyImpl.java:5896)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setAsReference(ClipboardPropertyImpl.java:5741)
at com.pegarules.generated.activity.ra_action_pzdynamicuisetupfields_cd8aae969f40f3dc8ecba0c6c8e4cb87.step6_5_circum0(ra_action_pzdynamicuisetupfields_cd8aae969f40f3dc8ecba0c6c8e4cb87.java:1112)
at com.pegarules.generated.activity.ra_action_pzdynamicuisetupfields_cd8aae969f40f3dc8ecba0c6c8e4cb87.step6_0_circum0(ra_action_pzdynamicuisetupfields_cd8aae969f40f3dc8ecba0c6c8e4cb87.java:740)


Steps to Reproduce



1. Create a Case.
2. Create a Section in th case. Section contains a Repeating Grid (SourcedPageList) and a text input in another layout.
3. In the Data Model tab of Case Type, include both the properties (PageList and Text Input property).


Root Cause



The code is in such a way that if the property type is Page List/ Page it is removed in pzDynamicUISetupFields activity but in this case since the pyPropertyMode is not correctly set, once the data is retrieved from relevant records it is failing and no other sections are displayed.

The root cause is pyPropertyType is set to text for PageList:DataReference type of properties due to which at step 5 it is not removed from Fields and it is causing the issue.

Resolution



Apply HFix-33231.

Published April 7, 2017 - Updated April 23, 2017

Have a question? Get answers now.

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