From 19b0b64883deff904464e135b84bfa40a285c517 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 26 Oct 2022 18:35:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20az?= =?UTF-8?q?ure=E5=88=9B=E5=BB=BA=E7=BC=BA=E9=99=B7=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018925 --user=陈建星 【测试跟踪】测试用例/测试计划-脑图-azure平台,创建缺陷报错了 https://www.tapd.cn/55049933/s/1278912 --- .../main/java/io/metersphere/service/TestCaseIssueService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseIssueService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseIssueService.java index 1daf2d5a17..caf0e9206f 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseIssueService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseIssueService.java @@ -121,7 +121,7 @@ public class TestCaseIssueService { testCaseIssues.setIssuesId(issuesId); testCaseIssues.setResourceId(resourceId); testCaseIssues.setRefType(refType); - testCaseIssues.setRefId(refId); + testCaseIssues.setRefId(StringUtils.isNotBlank(refId) ? null : refId); testCaseIssuesMapper.insert(testCaseIssues); } }