You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.
For various reasons, an Open311 server may spit out invalid JSON in the response. Right now the app just crashes when this happens. We need to do error checking on the response and handle it in a nicer way.
The text was updated successfully, but these errors were encountered:
The Cocoa errors 3840 is coming from uReport spitting out an HTML error message in the JSON response. I'll need to also make sure uReport only spits out JSON errors.
If I POST to it using Open311 Generic POST (Content-Type: application/x-www-form-urlencoded; charset=utf-8\r\n
\r\n
api_key=XXXX=&jurisdiction_id=matthewncockburn.com&first_name=Matthew&last_name=Cockburn&&service_code=1&lat=55.5&long=-2.55&\r\n
attribute[WHISPAWN]=123456&attribute[WHISDORN]=COISL001) I get:
\n\n\n\n\n\n\n\n\n\n\n
( ! ) Catchable fatal error: Argument 1 passed to Ticket::setAssignedPerson() must be an instance of Person, null given, called in /var/www/sites/crm/models/Ticket.php on line 125 and defined in /var/www/sites/crm/models/Ticket.php on line 209
For various reasons, an Open311 server may spit out invalid JSON in the response. Right now the app just crashes when this happens. We need to do error checking on the response and handle it in a nicer way.
The text was updated successfully, but these errors were encountered: