Extension stuck in "Checking for updates..." mode
Categories
(Toolkit :: Add-ons Manager, defect, P5)
Tracking
()
People
(Reporter: marius.santa, Assigned: koroknay, Mentored)
Details
Attachments
(3 files)
[Affected versions]: Firefox 59.0a1 (20171217220404) [Affected platforms]: Windows 10 64-bit MacOS Sierra 10.13 [Steps to reproduce]: 1.Launch Firefox with a clean profile. 2.Install a previous version of any extension. 3.Go to "about:addons". 4.Click on the "More" button for the installed extension. 5.Set "Automatic Updates" to "Off". 6.Click on the "Extensions" tab and perform a "Check for Updates" operation from "Tools for all add-ons". 7.Right click on the extension and select "Find Updates". [Expected Results]: The updates are displayed. [Actual Results]: The "Checking for Updates..." message is stuck. The user has to refresh the page in order to be able to use any of the options available for the selected addon. [Additional notes]: Gif of issue attached.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
It looks like the issue here is that in the sequence of events described here, we get an "onUpdateAvailable" callback (as opposed to an onNewInstall callback if we skip step 6). And the addon-generic XBL binding doesn't handle that event. Fixing this is just a matter of adding that method, all I think it needs to do is call `this._showStatus("update-available");` Dropping the priority since this requires such a specific sequence of events to trigger, and since this is code we'd like to get rid of anyway...
Comment 2•6 years ago
|
||
Hey, I would like work on the issue as I am learning to work on open source projects. Is it possible if you can assign this to me and I would love to contribute? Thanks a lot
Comment 3•6 years ago
|
||
Sure, thanks for your interest! I've assigned the bug to you. If you haven't already done it, building Firefox locally is the first step. There's an overview here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build But for this bug you should be able to use artifact builds as well, see the docs here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Artifact_builds The code in question is in the file toolkit/mozapps/extensions/content/extensions.xml. I'm not sure how much background you need to get started, please feel free to add comments here with any questions you have, and set the needinfo flag (by clicking the checkbox next to "Need more information from" and entering my name in the text box at the bottom of the page)
Comment 4•6 years ago
|
||
Hey yadavallisasank! Just wanted to check in and see how it's going with this bug.
Comment 5•6 years ago
|
||
Hi yadavallisasank, since we haven't heard from you in awhile we are going to unassign you from this bug. If you have a little bit more time in the future, please come back and submit a patch!
Comment 6•6 years ago
|
||
Hi can I work on this bug since nobody is assigned to it. Also which part of Firefox is the bug related to? Thanks.
Comment 7•6 years ago
|
||
Also can I take 2-3 days as I am out of town?
Comment 8•6 years ago
|
||
Is the bug still open?
Comment 9•6 years ago
|
||
I can not reproduce it on firefox.
Comment 10•5 years ago
|
||
I just reproduced this on Firefox 64.0.2 on Windows 10 (1803), so the bug is still there.
Assignee | ||
Comment 11•5 years ago
|
||
Hi, I'd be more than happy to take this one on as my first contribution to open source. Could it be assigned to me please? Thanks!
Comment 12•5 years ago
|
||
Hey Martin, welcome! If you haven't done so already, you might want to read our onboarding documentation before getting started: https://wiki.mozilla.org/WebExtensions/Contribution_Onramp
If you need any help, please needinfo :aswan, the bug's mentor.
Happy bug fixing!
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
(In reply to Caitlin Neiman [:caitmuenster] from comment #12)
Thanks Caitlin. I have attached my patch now, which I have tested and should fix the bug.
Assignee | ||
Comment 15•5 years ago
|
||
Fix extensions getting stuck in "Checking for updates" mode
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
bugherder landing |
Comment 17•5 years ago
|
||
bugherder |
Comment 18•5 years ago
|
||
Thanks so much, Martin! Your contribution has been added to our recognition wiki: https://wiki.mozilla.org/Add-ons/Contribute/Recognition
Would you be interested in creating an account on mozillians.org? I'd be happy to vouch for you!
Updated•5 years ago
|
Description
•