monday icon indicating copy to clipboard operation
monday copied to clipboard

Parse error on item_name

Open albcl opened this issue 3 years ago • 0 comments

"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.

https://github.com/ProdPerfect/monday/blob/2de9c469880c9bb819d54ddbc8ccf111cf906920/monday/query_joins.py#L14-L27

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...

albcl avatar Jul 14 '22 16:07 albcl