From a73e8015643541d1f6293639dc187c90d152df73 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 21 Nov 2022 14:26:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=80=89=E6=8B=A9Jira=E5=8B=BE=E9=80=89=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E6=A8=A1=E6=9D=BF=E5=90=8E=E5=86=8D=E6=8D=A2=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=B9=B3=E5=8F=B0=E6=A8=A1=E6=9D=BF=EF=BC=8C=E7=BC=BA?= =?UTF-8?q?=E9=99=B7=E5=88=97=E8=A1=A8=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1019902 --user=陈建星 【测试跟踪】项目中选择自定义的local缺陷模版,缺陷管理页刷不出来了 https://www.tapd.cn/55049933/s/1299371 --- .../main/java/io/metersphere/service/PlatformPluginService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java b/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java index 99de6c6cec..6aac7f8ee1 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/PlatformPluginService.java @@ -63,7 +63,7 @@ public class PlatformPluginService { return false; } PluginMetaInfo pluginMetaInfo = pluginManager.getPluginMetaInfoByKey(platform); - return pluginMetaInfo.isThirdPartTemplateSupport(); + return pluginMetaInfo == null ? false : pluginMetaInfo.isThirdPartTemplateSupport(); } public Platform getPlatform(String platformKey, String workspaceId) {