Closed Bug 590009 Opened 16 years ago Closed 8 years ago

Version compatability check not consistent between upgrade check and add-on install.

Categories

(Firefox :: Extension Compatibility, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Valdis.Kletnieks, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b5pre) Gecko/20100823 Minefield/4.0b5pre Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b5pre) Gecko/20100823 Minefield/4.0b5pre I have a number of plugins that do not officially support 4.0b*, but in fact work just fine. So I unzip the .xpi, modify the install.rdf to list: <em:maxVersion>4.0b*</em:maxVersion> zip it up, and install it onto 4.0b5pre - and it installs *just fine* and works. To work around a bug I'm hitting, I had to drop back to 3.6.4, and all my extensions pass the compat check there just fine. Now the fun starts - I re-laynch 4.0b5pre, and several extensions *fail* and say 'not compatible with this version'. I then turn around and re-install *the exact same xpi*, and it happily installs and asks me to restart Firefox. So apparently 4.0b* does *not* match maxversion 4.0b5pre during the upgrade check, but it *does* match OK when installing an XPI. Reproducible: Always Steps to Reproduce: 1.Launch 4.0b5pre Go to https://addons.mozilla.org/en-US/firefox/addon/33/ and get a copy of googlebar 0.9.20.03 - note it isn't supported under 4.0b5pre. Save the xpi file on local disk. 2. Unpack the xpi, edit the install.rdf to say maxVersion 4.0b* and repack 3. Install the xpi and it installs just fine 4. Quit 4.0b5 and launch a 3.6.*, let it do its version checking, then exit. 5. Launch 4.0b5 again, and watch it complain about Googlebar not being compatible. 6. For bonus points, re-install from the same xpi in (3) and watch that work.
Version: unspecified → Trunk
Googlebar may be a bad test case, I think I had to modify one of the files for the new extension registration scheme. Embarassingly enough, test-pilot 1.0.1 is another one that isn't 4.0b5pre compat, but works fine after fixing the install.rdf.
Mass-closing old Extension Compatibility bugs that relate to legacy add-ons or NPAPI plug-ins. If you think this bug is still valid, please reopen or comment. Sorry for the bug spam, and happy Friday!
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.