Fix issue in temp schema generated in the workflow with an enrichement activity
An example of a schema taht contents a duplicated enum value e029d4880:
Able to create the schema object in the sdk even with duplicated enumerations values to able to see schema in Acc web ui.
For information in the client console the duplication does not caused any issue.
How Has This Been Tested?
a unit test
tested in acc web ui
Screenshots (if appropriate):
error in console.log:
Error: Failed to add element 'e029d4880' to ArrayMap. There's already an item with the same name
at ArrayMap._push (util.js:205:1)
at new XtkSchema (application.js:1227:1)
at newSchema (application.js:52:1)
at Application._getSchema (application.js:1414:1)
at async SchemaCache.getSchema (application.js:96:1)
at async edit.tsx:418:1
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Allow duplicated enum values in schemas
Description
Fix issue in temp schema generated in the workflow with an enrichement activity An example of a schema taht contents a duplicated enum value e029d4880:
Related Issue
Issue found while testing web ui https://jira.corp.adobe.com/browse/NEO-63455 The issue causes the display of audience properties to fail. this fix is temporary and it will be reverted when the issue on backend side will be fixed. The ticket opened to fix the duplicated values on acc backend side is https://jira.corp.adobe.com/browse/NEO-63689
Motivation and Context
Able to create the schema object in the sdk even with duplicated enumerations values to able to see schema in Acc web ui. For information in the client console the duplication does not caused any issue.
How Has This Been Tested?
a unit test tested in acc web ui
Screenshots (if appropriate):
error in console.log:
Types of changes
Checklist: