violentmonkey / violentmonkey

Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
https://violentmonkey.github.io/
MIT License
5.62k stars 462 forks source link

[BUG] `Import from zip` cannot restore backup. `v2.15.7 BETA CI` #1922

Closed F9y4ng closed 11 months ago

F9y4ng commented 11 months ago

I download new BETA version Violentmonkey-test-webext-v2.15.7-19-gbfc1902 from CI

When I restored the backup through Import from zip on the settings page, the scripts and settings in the original backup were not restored.

cannt restore

Environment:

tophf commented 11 months ago

Works for me.

F9y4ng commented 11 months ago

It's so weird.

I kept getting 0 item(s) are imported no matter how I restored this afternoon and couldn't restore the backup correctly.

I've forgotten what I set up this afternoon, and now reinstalled 2.15.7BETA CI and it was able to restore!!

But there is a new problem: restoring the same backup, the scripts keep growing instead of overriding the NAME + NAMESPACE same scripts, As shown:

cam

tophf commented 11 months ago

I can't reproduce. Works correctly for me in the latest CI build.

tophf commented 11 months ago

I guess your backup is broken because it was made in an earlier build that was affected by the bug I fixed today.

F9y4ng commented 11 months ago

I just installed the latest version of Violentmonkey-test-webext-v2.15.7-22-g08e7f1c, all the problems in the previous Violentmonkey-test-webext-v2.15.7-19-gbfc1902 have been fixed. Thanks.

cyfung1031 commented 11 months ago

Try 2.15.8. I believe most issues have been gone in 2.15.8.

At least no more outstanding issues from my side.