fix(测试跟踪): 执行测试计划功能用例有报错提示

--bug=1021837 --user=陈建星 【测试跟踪】测试计划中执行某个功能用例报错了 https://www.tapd.cn/55049933/s/1325833
This commit is contained in:
chenjianxing 2023-01-11 10:34:46 +08:00 committed by jianxing
parent c3e0607066
commit 214d5b90a7
1 changed files with 4 additions and 3 deletions

View File

@ -467,9 +467,10 @@ public class TestCaseService {
if (StringUtils.equalsIgnoreCase(testCase.getVersionId(), defaultVersion)) {
checkAndSetLatestVersion(testCase.getRefId());
}
//同步修改所有版本的模块路径
updateOtherVersionModule(testCase);
if (StringUtils.isNotBlank(testCase.getNodePath())) {
//同步修改所有版本的模块路径
updateOtherVersionModule(testCase);
}
}
private void updateOtherVersionModule(EditTestCaseRequest testCase) {