Error message in UI blinks and disappears
The validation error message in UI blinks and disappears in a second. But in clipboard, the message is set correctly. This issue occurs only with Show harness. This behavior occurs after upgrading from PRPC 6.3 to Pega 7.1.7. Screen is refreshed automatically when Show harness is used.
Steps to Reproduce
1 Create two date fields, startDate and endDate and a button.
2 On Click action and a main activity, an event is triggered.
3 In Main activity, ValidateDate, activity and Call Show-Harness method is called.
4 In ValidateDate activity, Page-Clear-Messages and Page-Set-Messages methods are called.
5 In Page-Set-Message method, a When rule is configured to validate the dates in above fields.
6 Error message is configured to appear on Harness by setting form-level errors to Top of Harness in Display Options tab of Harness rule.
Deprecated control usage and customization lead to reported behavior.
Perform the following local-change:
- Replace deprecated control with Button (pxButton) control in section.
- On Click event, add Refresh - This section and Configure SearchCaseHistory activity.
- Configure Call Clear Message as first step in activity and enable condition.
0% found this useful