CB-2525 add aws template connections to the session fix

This commit is contained in:
yagudin10
2022-09-02 16:35:49 +03:00
parent ef0e50fde6
commit 35a9fc81f3
@@ -404,8 +404,9 @@ public class WebServiceAdmin implements DBWServiceAdmin {
((DataSourceDescriptor) newDataSource).setNavigatorSettings(CBApplication.getInstance().getAppConfiguration().getDefaultNavigatorSettings());
globalDataSourceRegistry.addDataSource(newDataSource);
return new WebConnectionInfo(webSession, newDataSource);
WebConnectionInfo connectionInfo = new WebConnectionInfo(webSession, newDataSource);
webSession.addConnection(connectionInfo);
return connectionInfo;
} catch (DBException e) {
throw new DBWebException("Error copying connection", e);
}