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

When enriching signals (e.g. events/messages) with extraFields, duplicate paths lead to not all fields to be enriched #1826

Closed
thjaeckle opened this issue Nov 28, 2023 · 0 comments · Fixed by #1828
Assignees
Labels
Milestone

Comments

@thjaeckle
Copy link
Member

When using signal enrichment, e.g. in connections or websockets to receive additional fields to the actually changes ones, it leads to unexpected problems when e.g. selecting the following extraFields:

features/operationalMode/properties/configuration/mode
features/{{feature:id}}/properties/configuration

In this example, {{feature:id}} would also resolve to operationalMode.

We encountered that in such a case, only the first field will be enriched, the features/{{feature:id}}/properties/configuration will be ignored. Changing the order does not make a difference.

The cause is not yet really clear to me - maybe because of the {{feature:id}} placeholder or maybe because configuration/mode is a part of configuration.

Has to be investigated in order to fix.

@thjaeckle thjaeckle added the bug label Nov 28, 2023
thjaeckle added a commit that referenced this issue Nov 29, 2023
…objects both being included in selected fields
thjaeckle added a commit that referenced this issue Nov 29, 2023
#1826 fix JsonFieldSelectorTrie logic for objects and parts of those objects both being included in selected fields
thjaeckle added a commit that referenced this issue Nov 30, 2023
…objects both being included in selected fields
@thjaeckle thjaeckle added this to the 3.4.2 milestone Nov 30, 2023
@thjaeckle thjaeckle self-assigned this Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
1 participant