alekseykulikov / backbone-offline

[Deprecated] Allows your Backbone.js app to work offline
MIT License
720 stars 56 forks source link

delete que is never empty #58

Closed t3living closed 11 years ago

t3living commented 11 years ago

when a delete is captured by "offline" it produces a list of api item id's to delete and these appear to be processed on the next sync event. The system is processing the list of deletes and returning an 200 OK status for each one..but the local-storage list of "to-be-deleted" is never updated. As a result, the next sync event again attempts to delete the same items which have already been removed from the server?

any suggestions?

t3living commented 11 years ago

found the issue. my api server was returning OK-200, but not "{}"