Empty modal dialog appears on Mobile offline application
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.
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
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.
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.