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

JSON parsing sometimes fails when using quotes within values of actions #1348

Open
frikky opened this issue Mar 8, 2024 · 0 comments
Open
Labels
1.5.0 bug Something isn't working

Comments

@frikky
Copy link
Member

frikky commented Mar 8, 2024

There is an inconsistency in JSON parsing for very specific cases.

Simple test:

  • Put the following data in the code of an "Execute python" action:
execution = self.full_execution
print(self.full_execution)

This will show the full execution as it should, and will parse as valid JSON.

  • Failing test includes [""] key referencing. Doesn't matter if it's single quote or double.
execution = self.full_execution
print(self.full_execution)
action_id = self.action["id"]
@frikky frikky added 1.5.0 bug Something isn't working labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.5.0 bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant