Date format changes on click on submit if validations exists
SummaryIt is observed that the Read only date format changes to some other format if there is any validation fired on click of submit.
Error MessagesNot Applicable
Steps to Reproduce
1. Configure a date control with Read-only format set to Date.2. Configure a declareexpression on the property. @(Pega-RULES:DateTime).addCalendar(.EffectiveDate, "", .ExpirationMonths, "", "", "", "", "")3. Configure a flow and have a post-validation error message on the section and see that it fails after Submission.4. Check the format of the date control changing form 01/10/2016 to Oct 10, 2016 12:00:00 AM.
Root CauseA defect in Pegasystems’ code or rules.
This could be due to the declare expression configured on the property. GetTargets activity response is retrieved incorrectly. Raised BUG-290502 item.
ResolutionPerform the following local-change:
Change the control Read-only format to DateTime.
Published February 22, 2017 - Updated March 8, 2017