mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-24 11:35:54 +08:00
dbeaver/pro#8515 fixed null to empty strings props conversion
This commit is contained in:
+1
-1
@@ -283,7 +283,7 @@ public class WebDataSourceUtils {
|
||||
if (config.getProperties() != null) {
|
||||
Map<String, String> newProps = new LinkedHashMap<>();
|
||||
for (Map.Entry<String, Object> pe : config.getProperties().entrySet()) {
|
||||
newProps.put(pe.getKey(), CommonUtils.toString(pe.getValue()));
|
||||
newProps.put(pe.getKey(), CommonUtils.toString(pe.getValue(), null));
|
||||
}
|
||||
dsConfig.setProperties(newProps);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user