Esri / offline-editor-js

ArcGIS JavaScript library for handling offline editing and tiling.
http://esri.github.io/offline-editor-js/demo/
Apache License 2.0
159 stars 142 forks source link

JSON.parse error in edit library - unable to parse xhr response #492

Closed andygup closed 7 years ago

andygup commented 7 years ago

Something changed with how ArcGIS Online is returning applyEdits requests.

Will need to regex the response and replace double quotes with single quotes so that JSON.parse(this.responseText) will work again.

andygup commented 7 years ago

Working again for no reason. Closed for now without a fix. Might have something to do with how JSON is being returned from various AGOL cloud instances.