PegaSurvey-Datetime changes after refresh
In Pegasurvey, value in datetime property value changes after screen refresh or after answering other questions.
A common pattern is observed in date time change (adding 4 hours for every refresh).
6/19/2015 6:45 AM
6/19/2015 10:45 AM
6/19/2015 2:45 PM
6/19/2015 6:45 PM
6/19/2015 10:45 PM
6/20/2015 2:45 AM
6/20/2015 6:45 AM
Steps to Reproduce
1. Create a few questions and set one question format to be DateTime.
2. Create a Question page and have all the Simple Questions created above added under Questions tab. Ensure the checkbox "Refresh" is checked.
3. Create Survey and have above created question page added under Question Pages tab.
4. Run the Survey.
5. Select a DateTime value and answer any other question in the survey which has refresh option selected. Observe that date stamp changes (4hrs gets added) after answering other questions.
The root cause of this problem is a defect in Pegasystems’ code/rules.
The issue occured because the locale and timezone was not considered while converting the date time value from string to date in SetPropertyMapping activity.
This issue is resolved by HFix-22809.
0% found this useful