Support Article
Column Repeat visible fail after upgrade
SA-38558
Summary
The user upgraded their UAT from 7.1.8 to 7.2.2 and has observed some exceptions in the log. The scenario is this:
There is a Section rule called X-Data-Party.IncomeDetailsReadOnly which uses a column repeat layout using a page list property X-Data-Document.DocumentList. There is a visible condition using a When rule X-Data-Document.IsFinancialDocPresent under the Presentation tab Body visibility When of the layout. It was working fine under 7.1.8 but when user upgraded it to 7.2.2, the section rule threw an exception in the log saying that IsFinancialDocPresent cannot be found, causing the Section rule to fail and the error propagated up to other wrapping sections too.
Error Messages
IsFinancialDocPresent cannot be found
Steps to Reproduce
- Create a section X-Data-Party.IncomeDetailsReadOnly that uses a column repeat layout using a page list property X-Data-Document.DocumentList.
- Add a visible when condition X-Data-Document.IsFinancialDocPresent under the Presentation tab Body visibility When of the layout.
- Test the scenario in Pega 7.18 and Pega 7.2.2.
Root Cause
Due to a bug in Pega 7.1.8, the when condition specified is never executed and always false will be returned.
In Pega 7.2.2, after bug fix the when rule specified is being executed , for which the step page is X-Data-Party, as the when rule is in class 'X-Data-Document', rule resolution fails to find rule in 'X-Data-Party', because of which Rule not Found Exception is thrown which gets propagated to upper sections and complete layout goes invisible.
Resolution
Perform the following local-change:
Save as the when rule from class 'X-Data-Document' to 'X-Data-Party' (Applies to class of the section)
OR
Change the header for the layout from collapsible to Bar / Fieldset / None.
Published June 1, 2017 - 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.