Closed Bug 248127 Opened 20 years ago Closed 20 years ago

EM should report error, fail gracefully when extension does not support current application version

Categories

(Toolkit :: Add-ons Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 247322

People

(Reporter: shaver, Assigned: bugs)

References

Details

Currently, you get a silent failure, leaving the application unable to start up
until the extension is removed by hand.

Test snippet:

<em:targetApplication>
  <em:minVersion>0.1</em:minVersion>
  <em:maxVersion>0.1</em:maxVersion>
</em:targetApplication>
Confirmed on Linux.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040621 Firefox/0.9.0+
(daihard: P4/SSE2)

The EM should throw some sort of error after loading the install.rdf file. Right
now, the lack of error messages means that users of nightly builds must check
install.rdf manually before installing the extension, or else risk getting the
dreaded "Finishing Extensions Installation" dialog.

blocking1.0?, please - this is a major irritant.
Flags: blocking1.0?
Also, could there either be a preferance in about:config or in the dialog box
that pops up telling you it's not supported that gives you the option of
ignoring the version number warning if you know that it will work and has just
been packaged wrongly?
Is this a duplicate of Bug 247322?
(In reply to comment #2)
> Also, could there either be a preferance in about:config or in the dialog box
> that pops up telling you it's not supported that gives you the option of
> ignoring the version number warning if you know that it will work and has just
> been packaged wrongly?

If you're sufficiently expert to know that, you can just crack it open with
unzip and fix the version number yourself, I think.
(In reply to comment #3)
> Is this a duplicate of Bug 247322?

Yes. They both describe the same condition. But this bug has a better summary.
The other bug is fixed now so I'll close this as a duplicate since they seem to
be the same thing.

*** This bug has been marked as a duplicate of 247322 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Flags: blocking1.0?
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.