Support Article
Connector wizard -Wrong structure if base class ends with dash
SA-16149
Summary
Connector wizard is used to generate data model classes from XSD file. However, the generated structure is wrong.
Wrong output is created either if provided base class ends with dash or does not end.
Error Messages
Not Applicable
Steps to Reproduce
Below are the two use cases.
1.
Input: XSD file with types A, B, C defined
Base class selected: 'MyProject-Data-'
Output (unnecessary class 'My-Project-Data-' with children is created):
- My-Project-Data
- My-Project-Data-
- My-Project-Data-A
- My-Project-Data-B
- My-Project-Data-C
- My-Project-Data-A
- My-Project-Data-B
- My-Project-Data-C
2.
Input: XSD file with types A, B, C defined
Base class selected: MyProject-Data
Output (wrong class names are created):
- My-Project-Data
- My-Project-DataA (missing dash)
- My-Project-DataB
- My-Project-DataC
The following structure should be generated:
- My-Project-Data
- My-Project-Data-A (new class)
- My-Project-Data-B (new class)
- My-Project-Data-C (new class)
Issue is observed on Pega 7.1.6 but the same use case works fine in Pega 7.1.9.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
This issue is resolved in Pega 7.1.9.
Published January 31, 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.