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

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


The following commit(s) were added to refs/heads/dev by this push:
     new 84ed1cc  [hotfix] Fix wrong property access in property selector 
service
84ed1cc is described below

commit 84ed1cc2317c9b2c5b0b73e51662035098b00d17
Author: Dominik Riemer <[email protected]>
AuthorDate: Thu Oct 29 23:20:51 2020 +0100

    [hotfix] Fix wrong property access in property selector service
---
 ui/src/app/services/property-selector.service.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ui/src/app/services/property-selector.service.ts 
b/ui/src/app/services/property-selector.service.ts
index bc9327b..be6371b 100644
--- a/ui/src/app/services/property-selector.service.ts
+++ b/ui/src/app/services/property-selector.service.ts
@@ -32,13 +32,12 @@ export class PropertySelectorService {
 
     makeProperties(eventProperties: Array<any>, availablePropertyKeys: 
Array<string>, currentPointer) {
         let outputProperties = [];
-
         eventProperties.forEach(ep => {
             availablePropertyKeys.forEach(apk => {
                 if (this.isInSelection(ep, apk, currentPointer)) {
                     ep.runtimeId = this.makeSelector(currentPointer, 
ep.runtimeName);
                     if (this.isNested(ep)) {
-                        ep.eventProperties = 
this.makeProperties(ep.eventProperties, availablePropertyKeys, 
this.makeSelector(currentPointer, ep.properties.runtimeName));
+                        ep.eventProperties = 
this.makeProperties(ep.eventProperties, availablePropertyKeys, 
this.makeSelector(currentPointer, ep.runtimeName));
                     }
                     outputProperties.push(ep);
                 }

Reply via email to