dbeaver/pro#9905 adds fallback to get connection from nodeId in case nodePath is not set (#4499)

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
This commit is contained in:
sergeyteleshev
2026-07-28 16:37:56 +02:00
committed by GitHub
co-authored by Daria Marutkina mr-anton-t
parent 42f6720acd
commit 8bf33d539f
@@ -355,7 +355,7 @@ export class ConnectionInfoResource extends CachedMapResource<IConnectionInfoPar
}
const connectionPart = nodeId.substring(0, connectionEnd + node.objectId.length);
const connectionId = this.nodeIdMap.get(connectionPart);
const connectionId = this.nodeIdMap.get(connectionPart) || this.getConnectionIdForNodeId(node.projectId, nodeId);
if (connectionId) {
return this.get(connectionId);