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 ' character in experiment configuration #383

Open
bboudaoud-nv opened this issue Jun 16, 2022 · 0 comments · May be fixed by #385 or #386
Open

Issue with ' character in experiment configuration #383

bboudaoud-nv opened this issue Jun 16, 2022 · 0 comments · May be fixed by #385 or #386
Assignees
Labels
bug Something isn't working

Comments

@bboudaoud-nv
Copy link
Collaborator

When a ' character is present in the experiment configuration, it breaks the SQL query to insert a new row into the Experiments table by ending the string being used for the experiment description in the query.

For now I recommend avoiding use of the ' character (the primary challenge case would be its use in string such as "We'll"). In the future we should come up w/ a strategy that will reduce the need for this. I believe the easiest solution is "doubling" the ' character to '' to escape it in SQL.

@bboudaoud-nv bboudaoud-nv added the bug Something isn't working label Jun 16, 2022
@bboudaoud-nv bboudaoud-nv self-assigned this Jun 16, 2022
@jspjutNV jspjutNV linked a pull request Jul 6, 2022 that will close this issue
@bboudaoud-nv bboudaoud-nv linked a pull request Jul 6, 2022 that will close this issue
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
1 participant