You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2017. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 15, 2017. It is now read-only.
Own block rules lost after update to v. 1.0.0.3 #381
Ok. I see potential for a race condition, where there is an attempt to load data before it has been saved. If so, this means that your data was properly converted, but somehow the actual writing of bytes to the storage did not occur before the data was requested.
I need to fix this.
The workaround meanwhile in case other users end up with the same problem is a simple restart of the extension (disabling/enabling).
Activity
gorhill commentedon Jul 23, 2014
Crap.
I just reviewed the code and I can't see why it wouldn't work. Will keep looking but it's kind of too late at this point, there is no way back.
If you have a back up, restoring should work fine though.
gorhill commentedon Jul 23, 2014
Ok so if I understand, before the restore, the block rules were gone, while the allow rules were properly converted to the new storage?
gorhill commentedon Jul 23, 2014
Ok. I see potential for a race condition, where there is an attempt to load data before it has been saved. If so, this means that your data was properly converted, but somehow the actual writing of bytes to the storage did not occur before the data was requested.
I need to fix this.
The workaround meanwhile in case other users end up with the same problem is a simple restart of the extension (disabling/enabling).
gorhill commentedon Jul 23, 2014
Actually, correction:
The data was irremediably lost. Whichever "block" or "allow" rules was saved first was clobbered if both fields had rules.
I can still save Opera users I think.