Importing a XSD is resulting in duplicate properties
SummaryThe 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 MessagesNot Applicable
Steps to ReproduceImport 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 CauseThe 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.
ResolutionTo 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