Open jmoody opened 6 years ago
# LPWebQuery // When output is a JSON Dictionary 49 NSString *output = [webView calabashStringByEvaluatingJavaScript:jsString]; // query result is nil 51 NSArray *queryResult = [LPJSONUtils deserializeArray:output]; CalWebView-cal[449] DEBUG LPMapRoute:134 | Map POST, /map Parsed UIScript as ( "view:'WKWebView'", "with xpath:'hr#green_stripe'" ) CalWebView-cal[449] DEBUG LPJSONUtils:107 | Unable to deserialize { "error":"Exception while running query: hr#green_stripe", "details":"Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51" } LPServer should detect this error and return an error result.