Support Article
Extra value "0101" is getting appended to the date property
SA-29252
Summary
After an upgrade to Pega 7.2, a date property is referred to in a pagelist property causes the case Parse XML to parse a value(for that date property present in inbound XML) incorrectly.
Extra digits "0101" gets appended to the date value while mapping it to clipboard. This behavior is only observed for the date property present in first page of the page list property.
For example if the inbound XML service sends a date in the format <2015-02-20> then it is parsed by the mapping rule and stored in the clipboard as 201502200101.
Error Messages
com.pega.pegarules.pub.runtime.IndeterminateConditionalException: ** PropertyValueInvalid null .pegaToBigDecimal() Invalid number/date format (was 201502120101)
Steps to Reproduce
- Create a Parse XML rule that references a pagelist property. The pagelist needs to reference a date property.
- Parse the inbound XML having values set for the date property referred in the pagelist.
Root Cause
A defect in Pegasystems’ code or rules is identified as root cause of the issue.
Resolution
Set the below dynamic system settings entry:
Purpose : SwitchToOldAssembler
Owning Ruleset : Pega-IntegrationEngine
Value : true
Published October 18, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.