Backbone.localStorage icon indicating copy to clipboard operation
Backbone.localStorage copied to clipboard

Models not saving correctly under version 2.0.0

Open tpict opened this issue 6 years ago • 3 comments

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.

tpict avatar Sep 05 '17 13:09 tpict

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?

scott-w avatar Sep 06 '17 07:09 scott-w

I see it under Firefox too. I haven't figured out a consistent reproduction method.

tpict avatar Sep 06 '17 08:09 tpict

I have the same problem too with Firefox 60.5.2esr (64-Bit) on Windows 7. Any hints on how to debug consistently?

tafaust avatar Aug 20 '19 07:08 tafaust