Support Article
Empty modal dialog appears on Mobile offline application
SA-20323
Summary
When a user presses the "Discard" button, an empty dialog is being displayed on the mobile device. This displays for a second and then the real modal dialog appears, this occurs when users selects "Discard" or when user selects to view the submitted application. This happens on both Android and iOS devices.
The issue is replicable only through app. You cannot replicate it through phone's / desktop's browser.
Error Messages
Not Applicable
Steps to Reproduce
1. You need to download the file and install it.
2. Then open the app and provide the URL
3. Select Start New application
4. Enter First name and Last name
5. Select discard button and you will notice the empty modal dialog
Root Cause
The root cause of the reported behavior is rule caching.
The modal dialog loads in two parts.
a. pyModalTemplate - here the outer section and border are loaded
b. Actual section - here the data and the buttons are loaded
So, a lag would be there.
Resolution
This behavior is fixed in latest Pega 7.2 version where the lag would be there only for the first time. Second time, the lag would not occur. In 7.2 version, rule cache is implemented as a wrapper, which would handle the caching of rules at the client end.
Published February 27, 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.