Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with DeleteTransformationRule in Adapter #2855

Closed
tenthe opened this issue May 13, 2024 · 0 comments · Fixed by #2887
Closed

Issue with DeleteTransformationRule in Adapter #2855

tenthe opened this issue May 13, 2024 · 0 comments · Fixed by #2887
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tenthe
Copy link
Contributor

tenthe commented May 13, 2024

Body

The DeleteTransformationRule in the connect adapter encounters an error when multiple properties share the same prefix.
Sample file for FileStreamAdapter:

{
  "timestamp": 1715356080000,
  "reserved bit": true,
  "reserved bit_1": true,
  "reserved bit_2": true
}

To reproduce, load the file into the FileStreamAdapter and remove the reserved bit_1 property. This property is still displayed in the preview.

StreamPipes Committer

I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

@tenthe tenthe self-assigned this May 13, 2024
@bossenti bossenti added this to the 0.97.0 milestone May 13, 2024
@bossenti bossenti added the bug Something isn't working label May 13, 2024
@tenthe tenthe linked a pull request May 21, 2024 that will close this issue
@bossenti bossenti modified the milestones: 0.97.0, 0.95.0 May 21, 2024
bossenti pushed a commit that referenced this issue May 21, 2024
* fix(#2855): Add e2e test to reproduce the bug

* fix(#2855): Fix transformation rules for properties with same prefix
bossenti pushed a commit that referenced this issue May 21, 2024
* fix(#2855): Add e2e test to reproduce the bug

* fix(#2855): Fix transformation rules for properties with same prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants