提交 952299c6 编写于 作者: S Serge Rider

NEtwork handlers config save fix

上级 b8655cf0
......@@ -596,6 +596,9 @@ public class DataSourceRegistry implements DBPDataSourceRegistry
saveSecuredPassword(xml, dataSource, "network/" + configuration.getId(), configuration.getPassword());
}
for (Map.Entry<String, String> entry : configuration.getProperties().entrySet()) {
if (CommonUtils.isEmpty(entry.getValue())) {
continue;
}
xml.startElement(RegistryConstants.TAG_PROPERTY);
xml.addAttribute(RegistryConstants.ATTR_NAME, entry.getKey());
xml.addAttribute(RegistryConstants.ATTR_VALUE, CommonUtils.notEmpty(entry.getValue()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册