Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Format issue with DateTime control on Section refresh

SA-13378

Summary



For a DateTime control with a read only format set different from editable date format, read only format get set to editable date format when other fields are refreshed.

Error Messages



No error messages.

Steps to Reproduce



Create a field in a Section with DateTime control with below configuration:
  • Edit Options : Auto
  • Editable Setting- Date/Time: Date, Display Mode: Text input + Calendar, Display values using read only format
  • Read-Only Format- Type: Date, Date Format: 01-Jan-2001


Root Cause



The issue in processOnBeforeSubmit API where before submit/reload of Section, resetting the value of datetime control to it unformatted value. When this API is called before any ReloadSection instead of fetching datatime controls with in the Section, one is trying to get all the datatime elements in the Harness.

Resolution



This has been resolved by HFix-23512 by modifying processOnBeforeSubmit to process DateTime controls with in the Section instead of entire harness in case of RefreshSection. 

Published August 29, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us