This is an automated email from the ASF dual-hosted git repository.
SvenO3 pushed a commit to branch 4759-adapters-without-a-name-can-be-created
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to
refs/heads/4759-adapters-without-a-name-can-be-created by this push:
new 0758310e6a Prevent adapters with empty names
0758310e6a is described below
commit 0758310e6a61db99fe8ab9eb3b41d1bdddaa95bc
Author: Sven Oehler <[email protected]>
AuthorDate: Thu Jul 23 16:41:42 2026 +0200
Prevent adapters with empty names
---
.../adapter-configuration/adapter-configuration.component.ts | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git
a/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
b/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
index 5d964b2221..e8947198e8 100644
---
a/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
+++
b/ui/src/app/connect/components/adapter-configuration/adapter-configuration.component.ts
@@ -121,12 +121,16 @@ export class AdapterConfigurationComponent implements
OnInit, OnDestroy {
}
nextAdapterSettings() {
+ const adapter =
+ this.stateService.state().adapterDescription ??
+ this.adapterDescription;
+
this.shepherdService.trigger('specific-settings-next-button');
this.goForward();
- this.stateService.updateAdapter(this.adapterDescription);
+ this.stateService.updateAdapter(adapter);
- if (this.adapterDescription.transformationConfig.inputs.length == 0) {
- this.stateService.getSampleEvent(this.adapterDescription);
+ if (adapter.transformationConfig.inputs.length == 0) {
+ this.stateService.getSampleEvent(adapter);
}
}