-
Bug
-
Resolution: Done
-
Blocker
-
Kogito Tooling 0.21.0, Kogito Tooling 0.22.0
-
False
-
None
-
False
-
Need to add automation
-
Reported by QE
-
2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8), 2022 Week 35-37 (from Aug 29)
During example testing I have noticed that marshalling roundtrip adds some fields that weren't added by me and sould not be required to be added.
This issue is about Switch State and its transitions.
If the attached examples are openned in the webapp and downloaded additional fields are added in some elements.
Before:
{ "name":"CheckVisaStatus", "type":"switch", "eventConditions": [ { "eventRef": "visaApprovedEvent", "transition": "HandleApprovedVisa" }, { "eventRef": "visaRejectedEvent", "transition": "HandleRejectedVisa" } ], "timeouts": { "eventTimeout": "PT1H" }, "defaultCondition": { "transition": "HandleNoVisaDecision" } }
After:
{ "name":"CheckVisaStatus", "type":"switch", "eventConditions": [ { "eventRef": "visaApprovedEvent", "transition": "HandleApprovedVisa", "end": false }, { "eventRef": "visaRejectedEvent", "transition": "HandleRejectedVisa", "end": false } ], "timeouts": { "eventTimeout": "PT1H" }, "defaultCondition": { "transition": "HandleNoVisaDecision", "end": false } }
We expect the After case to match Before case.
After case contains extra line:
*"end": false*