-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
acknowledgedHas been viewed by one of the maintainers and is ready for further work, discussion or other steps.Has been viewed by one of the maintainers and is ready for further work, discussion or other steps.bugSomething isn't workingSomething isn't working
Description
How: List of performed steps
- Create aspect model with a Characteristic that has dataType:positiveInteger.
- Do not add example value to Property.
- Generate sample JSON payload.
- Error states "Failed to generate JSON Sample Invalid Aspect Model"
What: Actual result vs expected result
Actual result = error and no generated JSON
Expected = sample JSON payload
Where: (e.g. component, version, url, your system info)
AME version:
5.6.1
SAMM version:
2.1.0
ESMF SDK version:
2.7.0
Input (files/screenshots)
Output (files/screenshots)
Additional context (e.g. references)
The error is caused by AME adding a zero value to the sample payload. This is not allowed for the dataType positiveInteger which causes the error.
Metadata
Metadata
Assignees
Labels
acknowledgedHas been viewed by one of the maintainers and is ready for further work, discussion or other steps.Has been viewed by one of the maintainers and is ready for further work, discussion or other steps.bugSomething isn't workingSomething isn't working