Xero-Java icon indicating copy to clipboard operation
Xero-Java copied to clipboard

Not able to find contact if name contains double quotes

Open sevendark opened this issue 2 years ago • 2 comments

SDK you're using (please complete the following information):

  • Version 4.26.0

Describe the bug i have a xero contact: asd"asd'asd"

i try to use get contacts api to get it by where condition.

String where = "Name==\"asd\"asd'asd\"\""
String where = "Name==\"asd\\\"asd'asd\\\"\""
String where = "Name==\"asd\\\\\"asd'asd\\\\\"\""

both returning

{
  "ErrorNumber": 16,
  "Type": "QueryParseException",
  "Message": "Syntax error"
}

Expected behavior get contact

sevendark avatar Aug 11 '23 09:08 sevendark

PETOSS-332

github-actions[bot] avatar Aug 11 '23 09:08 github-actions[bot]

Thanks for raising an issue, a ticket has been created to track your request

github-actions[bot] avatar Aug 11 '23 09:08 github-actions[bot]