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

Unable to parse future date using pyAssignmenttimeLimitDeadline

SA-41946

Summary



When submitting a case, unable to parse a future date set in the deadline time property using Pega out-of-the-box pyAssignmenttimeLimitDeadline control.


Error Messages



Problem Parsing Date: java.lang.NumberFormatException: For input string: "-2177711995"


Steps to Reproduce

  1. Configure a section to include a date Field with property as Date type and Control on field as DateTime.
  2. On submission, set this value in a property and display in the assignment Display grid using the pyAssignmenttimeLimitDeadline control.


Root Cause



The pyAssignmentTimeLimitDeadline is a non-auto generated control which was configured to display the date in ‘2 days 5 hours ago’ format.

The pxDateTime control supported this format. The issue occurred when the section was picked from PegaSDCardruleset.



Resolution

Apply HFix-35760.


Suggest Edit

Published November 6, 2017 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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