Closed kibiz0r closed 9 years ago
DS.LFAdapter.deleteRecord calls persistData and then immediately resolves the deletion promise: https://github.com/genkgo/ember-localforage-adapter/blob/master/localforage_adapter.js#L287
This seems wrong, for one thing, but might this also open the door to find()s incorrectly retrieving an about-to-be-deleted record?
It's hard for me to tell at the moment because of another issue, which I will list separately.
This is issue has been resolved by the recent commit. Will tag a new version today that you can use. Thank you for contributing to this package.
DS.LFAdapter.deleteRecord calls persistData and then immediately resolves the deletion promise: https://github.com/genkgo/ember-localforage-adapter/blob/master/localforage_adapter.js#L287
This seems wrong, for one thing, but might this also open the door to find()s incorrectly retrieving an about-to-be-deleted record?
It's hard for me to tell at the moment because of another issue, which I will list separately.