Browse Source

REPORT-90013 设计器新增不支持的数据连接类型可以保存

【问题原因】远程设计下异常显示内容仍为本地lic信息
【改动思路】增加远程设计下获取支持的数据库类型接口
new-design
Leo.Qin 2 years ago
parent
commit
6f3a8ff70c
  1. 3
      designer-base/src/main/java/com/fr/design/data/datapane/connect/ConnectionListPane.java

3
designer-base/src/main/java/com/fr/design/data/datapane/connect/ConnectionListPane.java

@ -260,7 +260,8 @@ public class ConnectionListPane extends JListControlPane implements ConnectionSh
} }
} }
if (!notSupportedConnections.isEmpty()) { if (!notSupportedConnections.isEmpty()) {
throw new DataBaseNotSupportedException(notSupportedConnections, BaseDataBaseTypePoint.getSupportedDatabaseType()); List<String> supportedDatabaseTypes = WorkContext.getCurrent().get(DataBaseTypeOperator.class).getSupportedDatabaseTypes();
throw new DataBaseNotSupportedException(notSupportedConnections, supportedDatabaseTypes);
} }
} }

Loading…
Cancel
Save