Browse Source

KERNEL-9860 插件修改xml中active标签逻辑重构

跟vito讨论了下,决定模板报错的一键处理这儿,也是需要修改xml的,因为也是用户自己点的处理
bugfix/11.0
Yvan 3 years ago
parent
commit
b6d38f7f2e
  1. 2
      designer-realize/src/main/java/com/fr/design/mainframe/app/DesignerAppUtils.java

2
designer-realize/src/main/java/com/fr/design/mainframe/app/DesignerAppUtils.java

@ -220,7 +220,7 @@ public class DesignerAppUtils {
Multimap<String, PluginMarkerAdapter> stringPluginMarkerAdapterMultimap = popPluginInfoMap(key);
Collection<PluginMarkerAdapter> disablePlugins = stringPluginMarkerAdapterMultimap.get(TemplateIOErrorContextHolder.DISABLE_PLUGIN);
for (PluginMarkerAdapter disablePlugin : disablePlugins) {
PluginManager.getController().enable(disablePlugin, new ModifyStatusCallback(false));
PluginManager.getController().enablePersistently(disablePlugin, new ModifyStatusCallback(false));
}
Collection<PluginMarkerAdapter> uninstallPlugins = stringPluginMarkerAdapterMultimap.get(TemplateIOErrorContextHolder.NOT_INSTALLED_PLUGIN);

Loading…
Cancel
Save