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

Fixes #22591: Variable from JSON file don't report in Rudder 7.2 #1816

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented May 12, 2023

@Fdall Fdall requested a review from ncharles May 12, 2023 12:55
@@ -27,7 +27,7 @@ For example a JSON containing `{ "datacenter": "paris" }` read into the variable
</TRACKINGVARIABLE>

<SECTIONS>
<SECTION name="Base file" component="true" componentKey="VARIABLE_FROM_JSON_FILE_JSON_FILE" />
<SECTION name="Base file" component="true" componentKey="VARIABLE_FROM_JSON_FILE_BASE_FILE" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm dubious that it might work given that the componentKey is not related to the trackingVariable

@ncharles
Copy link
Member

ncharles commented Nov 1, 2023

with this PR, the situation is much worse, as the reporting get more invalid than withtout it
I've tested with 3 directives:

  • one with 0 override
  • one with 2 override
  • one with 3 override
    the one without override fails with current implementation, other works find
    with this PR, all fail

@Fdall
Copy link
Contributor Author

Fdall commented Dec 6, 2023

This is an old PR and latest test tends to show that it does introduce new bugs.

@Fdall Fdall closed this Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants