Closed Bug 379541 Opened 17 years ago Closed 17 years ago

Updated extensions show old version and name when asking for restart

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 340219

People

(Reporter: davemgarrett, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

After installing a new version of a Firefox extension, the extension manager pops-up and shows the extension with a caption requesting a restart to update.  The version number shown in this window is the old version, not the new.  If the name is changed, it will also show the old name here.  Obviously, if you're updating it should show you what you're updating to, not the old information.

Reproducible: Always

Steps to Reproduce:
1. Get an extension XPI.  (for simple testing, I used the one inside http://mozilla.doslash.org/stuff/helloworld.zip and bumped the max Firefox version number, but it should work with anything)
2. Install the XPI and restart Firefox.  Note the version and extension name listed in the manager.
3. Extract the XPI, edit install.rdf, increment the version and change the name.  (but don't touch the ID)  Re-zip as new XPI.
4. Install the new XPI.  The extension manager will show the extension being updated with a request to restart.  Note that the old name and version are shown, and not the new.
Actual Results:  
The extension manager shows the old version of the extension before restarting.

Expected Results:  
The extension manager should show the updated version of the extension before restarting.  Seeing as the update is the whole point of this, it should show the updated info.

For a little more info to be shown you could show both the old and new versions.  Just output something like "Updating from version ___ to ___".  For new names you could stick in a "Previously called ____" or something.

Minor bug, but should be quick to fix.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.