fix(测试跟踪): 选择Jira勾选第三方模板后再换其他平台模板,缺陷列表无法加载

--bug=1019902 --user=陈建星 【测试跟踪】项目中选择自定义的local缺陷模版,缺陷管理页刷不出来了 https://www.tapd.cn/55049933/s/1299371
This commit is contained in:
chenjianxing 2022-11-21 14:26:52 +08:00 committed by jianxing
parent 2043466cd2
commit 02253a1722
1 changed files with 1 additions and 1 deletions

View File

@ -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) {