You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/08/04 18:42:45 UTC

[incubator-streampipes] 03/03: Fix add nested property rule

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch STREAMPIPES-145
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit 35874b18027232f89d7ccb995859c5cc4fd2ac54
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Tue Aug 4 20:41:36 2020 +0200

    Fix add nested property rule
---
 ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts b/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts
index d57cd57..da7b58d 100644
--- a/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts
+++ b/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts
@@ -125,6 +125,7 @@ export class EventSchemaComponent implements OnChanges {
     nested['@class'] = 'org.apache.streampipes.model.schema.EventPropertyNested';
     nested.elementId = uuid;
     nested.eventProperties = [];
+    nested.domainProperties =  [];
     if (!eventProperty) {
       this.eventSchema.eventProperties.push(nested);
     } else {