Support Article
Dynamic layouts display Component Stack Mismatch error
SA-81669
Summary
User's dynamic layouts display Component Stack Mismatch error.
Error Messages
Component stack mismatch {"whenId":"2faf382d7ef91a7e861e7e138079487436e0d669_150","pyName":"pxVisible"}!!!!===={"liveUI":" data-ui-meta=\"{'type':'Container'}\" ","isClientWhen":false,"pyName":"pxHarnessContainer","pyTemplates":[{"pxReferencedId":"15b7027fb787cee6736de95dbbd4e78a44577d3e_3","pyName":"pxSection"},{"pxReferencedId":"15b7027fb787cee6736de95dbbd4e78a44577d3e_4","pyName":"pxSection"}]}
Steps to Reproduce
Create a new case.
Root Cause
In the pyCaseSummary section, the dynamic layout (4.2) has two text input element included. Both the text inputs have a Visibility condition (.EmailUrgency==D_DCR_OM.Parameters(UrgencyHigh)) enabled. This caused the issue.
Between Pega 8.1 and Pega 7 platform, multiple changes are made to the JAVA generation code and to the Visibility condition generation. As a result, the JAVA for this section is corrupted.
Resolution
Perform the following local-change:
- Change the Visibility to Always and save it.
- Change the Visibility condition to (.EmailUrgency==D_DCR_OM.Parameters(UrgencyHigh)) and resave it.
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.