Screen unresponsive on entering incorrect Date type with /
On entering an incorrect Date type with '/' in the datatype name, the the screen is unresponsive and does not load. The user must refresh the browser or logoff and relogin to the application.
Exception caught while evaluating When
Steps to Reproduce
- Configure a DateTime property with Display details read only selected.
- On change, run a data transform.
- Add a step, in the data transform, with a When condition.
- Enter invalid text for the date (for example, 3.34/543/.53/.453./4).
An issue in the custom application code or rules.
The Date string was compared with another Date in the When rule.
The When rule is executed even though the Date format is incorrect. Hence, the exception displayed during the Date comparison.
Perform the following local-change:
Since Pega validation displays a Page error message on Invalid Date entered, before execution of the When rule which compares the Date in the data transformation, include a step to determine if the page has error message using the 'hasMessage' When rule.
0% found this useful