Support Article

Importing a XSD is resulting in duplicate properties

SA-27065

Summary



The user  has imported XSD for the 1st time. System created all the relevant rules, and supplied another version of XSD - user imported that XSD - system has randomly created properties.

Error Messages



Not Applicable 

Steps to Reproduce



Import xsd V01. Import XSD V02. After importing XSD V02 - system is creating abc property " and were not expecting this property to be created again as no changes have happened on this property.

Root Cause



The property created by XSD is of type decimal and the property created by them in of type text. So, the next time when we are importing the xsd, it is not recognising the property and creting a new decimal type property. Thus, duplicating the property.

Resolution



To fix this, they should have consistency in the property type. The property present in base class and XSD should match (type wise). Lets say if the property type is decimal in base class, the XSD should also create it as decimal. If the XSD is of type text then pega will create a duplicate property.
 

Published August 22, 2016 - Updated October 1, 2016

Have a question? Get answers now.

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