New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripts being deleted when updated #2274
Comments
In case it matters: |
Confirmed on: Not confirmed on: The problem is that commit: 47fac82 P.S. This probably is not good: |
Also, for what it's worth: If I try to reinstall the script, I can't get past the installation popup and the TypeError is seen on every click of the 'Install' button. |
You must manually edit the file config.xml in the Firefox profile (and "gm_scripts") folder. |
One option might be to quickly release a new version, e.g. 3.4.1. But it's just a suggestion... |
Error seen in console:
|
I'm not seeing the same failure. Can someone produce a detailed set of steps to reproduce please? |
Ah, possibly the same error, different STR:
Step 4 implicitly uninstalls the existing script, to install the second copy. Update does effectively the same thing. Seems to trigger this issue. In the console:
|
Please confirm if 3.4.1beta1 ( https://addons.mozilla.org/firefox/downloads/file/352222/greasemonkey-3.4.1beta1-fx.xpi?src=devhub ) fixes this for you or not. |
The original bug is fixed - for me. This problem persists: |
Unfortunately, I found another problem (if just one script is installed): Confirmed on: Not confirmed on: One option might be:case 'uninstall' and insert it ( |
Did 3b621bc just after cutting the build for this fix. |
@janekptacijarabaci I really appreciate all the effort you put in, but wow you're hard to understand sometimes! I'm going to take "The original bug is fixed - for me." to mean it's worth moving forward with this dot release. As far as the "just one script" thing you've mentioned just above, please report a distinct issue. And please include steps to reproduce; I don't know how to trigger it. |
Pushing 3.4.1 release with just this fix now. |
The fix looks to be working, thanks for the quick turnaround! |
Since 3.4, when I increment the version of a script like this and run the manual update check, I see a download bar and then the script seems to be deleted from the user's list with no way to restore, except a manual reinstallation.
When it happens a
TypeError: oldItem is null
is shown in the error console, pointing to this line.The text was updated successfully, but these errors were encountered: