From 9c406a4e1e6a6ee96c8a4b3eb8a75315a59dd277 Mon Sep 17 00:00:00 2001 From: Sychev Andrey <44414066+SychevAndrey@users.noreply.github.com> Date: Mon, 9 Feb 2026 12:12:37 +0100 Subject: [PATCH] dbeaver/pro#8151 fix: reset password and key fields on change detection (#4102) * dbeaver/pro#8151 fix: reset password and key fields on change detection * fixes ssh save form part flow * removes race condition --------- Co-authored-by: sergeyteleshev Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com> --- webapp/packages/core-ui/src/Form/FormPart.ts | 6 +++++- .../src/ConnectionForm/SSH/ConnectionFormSSHPart.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/webapp/packages/core-ui/src/Form/FormPart.ts b/webapp/packages/core-ui/src/Form/FormPart.ts index 9ca8c8b036..4ae66294c7 100644 --- a/webapp/packages/core-ui/src/Form/FormPart.ts +++ b/webapp/packages/core-ui/src/Form/FormPart.ts @@ -1,6 +1,6 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others + * Copyright (C) 2020-2026 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. @@ -125,6 +125,10 @@ export abstract class FormPart impl } async load(): Promise { + if (this.formState.savingPromise) { + return; + } + if (this.loading) { return this.promise; } diff --git a/webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts b/webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts index 3fe10a0d63..4080786753 100644 --- a/webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts +++ b/webapp/packages/plugin-connections/src/ConnectionForm/SSH/ConnectionFormSSHPart.ts @@ -1,6 +1,6 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others + * Copyright (C) 2020-2026 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License.