yesamer commented on code in PR #4053:
URL: 
https://github.com/apache/incubator-kie-tools/pull/4053#discussion_r4360870041


##########
packages/scesim-editor-envelope/src/TestScenarioEditorRoot.tsx:
##########
@@ -113,8 +122,7 @@ export class TestScenarioEditorRoot extends 
React.Component<TestScenarioEditorRo
     openFileNormalizedPosixPathRelativeToTheWorkspaceRoot: string,
     content: string
   ): Promise<void> {
-    const marshaller = getMarshaller(content || EMPTY_ONE_EIGHT);
-    const scesimModel = marshaller.parser.parse();
+    const marshaller = this.getMarshaller(content);

Review Comment:
   @Kusuma04-dev I'm a bit worried about this. I remember that, if the content 
is null, an "empty" structure must be passed. This is to cover the case with a 
new Test Scenario. Did you try that case?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to