-
Bug
-
Resolution: Done
-
Critical
-
Kogito Tooling 0.22.0
-
False
-
None
-
False
-
-
---
-
---
Summary
When you open examples with following definition:
"onEvents": [ { "eventRefs": ["GreetingEvent"], "eventDataFilter": { "data": "${ .greet }", "toStateData": "${ .greet }" }, "actions": [ { "functionRef": { "refName": "greetingFunction", "arguments": { "name": "${ .greet.name }" } } } ] } ]
Editor will duplicate some lines, adds some new lines after unmarshalling procedure (getContetn() is called)
Once unmarshalled the actions array will look like this:
"actions": [ { "functionRef": { "refName": "greetingFunction", "arguments": { "name": "${ .greet.name }" } }, "name": { "refName": "greetingFunction", "arguments": { "name": "${ .greet.name }" } } } ]
You can also examine the issue in the attachments.
Expected results:
The actions array is not changed and the file is identical after marshalling/unmarshalling
- is incorporated by
-
KOGITO-7071 [SWF Diagram Viewer] - Tasks Q3CY22 / DP2
- Resolved