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 ad48aa07ce
commit e678c490d2
1 changed files with 4 additions and 3 deletions

View File

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