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

Empty Date fields default to 19700101

SA-22825

Summary



When the customer submits empty date field values, Pega is defaulting the value to 01/01/1970.

The user is looking for a back port of the disableEpochDate DSS as a hotfix for  Pega 7.1.7.


Error Messages



Not Applicable.


Steps to Reproduce

1. Create a Service which expects a Date element and gives date as a response.
2. Send input date as blank and run the service.
3. In the response we could see 1970-01-01


Root Cause



There is already a bug reported in Pega systems (BUG-187240) which has been fixed in Pega 7.1.8 as an feature.

Resolution



Type: Hotfix.

PARENT HOTFIX: HFIX-27413
NO DEPENDENTS ARE PRESENT.

Description changes:
Set DSS "disableEpochDate" on "Pega-IntegrationEngine" to "true". So that stream rule returns the empty date value.

Code change:
Project Name: prpublic
File name: com/pega/pegarules/pub/util/PRDateFormat.java
Revision: 190055

 

Published May 10, 2016 - Updated October 8, 2020

Was this useful?

100% 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