From 1bcbb6a3066c7691e4f4b2d44453b92808274a0e Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Mon, 8 Apr 2024 18:15:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=B7=B3=E8=BD=AC=E7=BC=BA=E9=99=B7=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1036877 --user=王旭 【项目管理】日志-缺陷详情取消关联功能用例-点击名称未跳转到缺陷详情页 https://www.tapd.cn/55049933/s/1490779 --- .../io/metersphere/bug/service/BugRelateCaseLogService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugRelateCaseLogService.java b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugRelateCaseLogService.java index fe61047793..7c44f0f26e 100644 --- a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugRelateCaseLogService.java +++ b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugRelateCaseLogService.java @@ -31,7 +31,7 @@ public class BugRelateCaseLogService { public LogDTO getRelateLog(String id) { BugRelationCase bugRelationCase = bugRelationCaseMapper.selectByPrimaryKey(id); BugRelateCaseDTO relateCase = extBugRelateCaseMapper.getRelateCase(bugRelationCase.getCaseId(), bugRelationCase.getCaseType()); - LogDTO dto = new LogDTO(relateCase.getProjectId(), null, null, null, OperationLogType.DISASSOCIATE.name(), OperationLogModule.BUG_MANAGEMENT_INDEX, relateCase.getRelateCaseName()); + LogDTO dto = new LogDTO(relateCase.getProjectId(), null, bugRelationCase.getBugId(), null, OperationLogType.DISASSOCIATE.name(), OperationLogModule.BUG_MANAGEMENT_INDEX, relateCase.getRelateCaseName()); dto.setPath("/bug/un-relate"); dto.setMethod(HttpMethodConstants.GET.name()); dto.setModifiedValue(JSON.toJSONBytes(relateCase));