fix(接口场景): 接口场景保存失败

修复通过模块树上方的更多操作中创建场景时,关联接口用例之后保存报错的问题
This commit is contained in:
song-tianyang 2022-01-10 13:34:04 +08:00 committed by fit2-zhao
parent c3f773ba90
commit b5636d84bf
2 changed files with 4 additions and 2 deletions

View File

@ -35,7 +35,9 @@ public class GenerateHashTreeUtil {
public static MsScenario parseScenarioDefinition(String scenarioDefinition) {
if (StringUtils.isNotEmpty(scenarioDefinition)) {
MsScenario scenario = JSONObject.parseObject(scenarioDefinition, MsScenario.class);
parse(scenarioDefinition, scenario);
if (scenario != null) {
parse(scenarioDefinition, scenario);
}
return scenario;
}
return null;

@ -1 +1 @@
Subproject commit a19c6c046e81a391bc96e39fe469d31d3de8d9aa
Subproject commit 1453e4f23bc9afda8837c43454c15a92b0468b66