This is an automated email from the ASF dual-hosted git repository. riemer pushed a commit to branch fix-move-rule-connect in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit ace03c2446a19ce4a028b65d92f000c6a752cdcf Author: Dominik Riemer <[email protected]> AuthorDate: Sat May 31 20:13:33 2025 +0200 fix: Move rule in schema guessing --- ui/src/app/connect/services/transformation-rule.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/app/connect/services/transformation-rule.service.ts b/ui/src/app/connect/services/transformation-rule.service.ts index 020aa57310..c8600b1e1a 100644 --- a/ui/src/app/connect/services/transformation-rule.service.ts +++ b/ui/src/app/connect/services/transformation-rule.service.ts @@ -243,11 +243,10 @@ export class TransformationRuleService { keyNew.lastIndexOf(this.delimiter) + 1, ); } else { - keyOfOldValue = `${keyOldPrefix}.${keyNew.substr( + keyOfOldValue = `${keyOldPrefix}${this.delimiter}${keyNew.substr( keyNew.lastIndexOf(this.delimiter) + 1, )}`; } - const rule = new MoveRuleDescription(); rule['@class'] = 'org.apache.streampipes.model.connect.rules.schema.MoveRuleDescription';
