-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
"errorMessage": "Parse error on \"\" (STRING)",
Both create_item and create_subitem have the same issue. If the item/subitem name contains double quotes, it will fail when parsing the string.
Lines 14 to 27 in 2de9c46
| query = '''mutation | |
| { | |
| create_item ( | |
| board_id: %s, | |
| group_id: "%s", | |
| item_name: "%s", | |
| column_values: %s, | |
| create_labels_if_missing: %s | |
| ) { | |
| id | |
| } | |
| }''' % (board_id, group_id, item_name, monday_json_stringify(column_values), | |
| str(create_labels_if_missing).lower()) |
Momentarily I have fixed it by replacing any " on an item's name with single quotes ' but I can imagine confusing strings when the item makes use of single quotes on its name...
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers