Backbone.localStorage
Backbone.localStorage copied to clipboard
Models not saving correctly under version 2.0.0
Using localstorage 2.0.0, I've found that calling save
on a model using localstorage doesn't always work as intended. The new attributes (if given) are applied correctly, but when fetching the model back from storage the attributes are completely empty. This problem doesn't occur with version 1.1.16 and I've had it on Safari and Chrome under macOS and Chromium under Linux.
Hi @tpict, thanks for reporting this. Do you know if the issue occurs under Firefox?
Do you have some sample code that can replicate the issue?
I see it under Firefox too. I haven't figured out a consistent reproduction method.
I have the same problem too with Firefox 60.5.2esr (64-Bit) on Windows 7. Any hints on how to debug consistently?