Closed
Bug 275923
Opened 21 years ago
Closed 21 years ago
Receive Incompatible Extension when Using Special Category
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
1.1
People
(Reporter: FarkFnord, Assigned: Bugzilla-alanjstrBugs)
References
()
Details
Attachments
(3 files, 1 obsolete file)
|
5.25 KB,
patch
|
csthomas
:
first-review+
|
Details | Diff | Splinter Review |
|
14.22 KB,
patch
|
csthomas
:
first-review+
|
Details | Diff | Splinter Review |
|
6.84 KB,
patch
|
Details | Diff | Splinter Review |
If I click on the "Popular", "Top Rated", or "New" I correctly get a list of
extenstions [probably "Editor's Pick" too, but it's empty right now]. But
clicking on any of the extensions gives an error:
"Incompatible Extension or Extension No Longer Available
The extension you requested is either incompatible with the application
selected, or the version of it is no longer available on Mozilla Update."
I can get to the extensions through the normal categories, though. Seems like
these 3 dynamic categories are forgetting what browser/OS I'm using.
It would also be nice if this error (when valid) was more specific. There should
be seperate errors for "the extension is there but is incompatible" and "the
extension is no longer available".
*** Bug 275922 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Assignee: psychoticwolf → nobody
Confirming, and here is the fix.
The page
https://addons.update.mozilla.org/extensions/showlist.php?application=firefox&version=1.0&os=Windows&category=Newest
has bad links like this one:
https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&version=1.0&os=Windows&category=Newest&numpg=10&id=418
which should be:
https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&version=1.0&os=Windows&numpg=10&id=418
Possible fix for code:
File:
http://lxr.mozilla.org/mozilla/source/webtools/update/themes/showlist.php
Insert at Line 199 (before "// Modify List Form"):
$uriparams_skip="category";
Insert at Line 454 (before "// Begin Code for Dynamic Navbars"):
$uriparams_skip="";
Forget that last comment, sorry.
The fix has to be made to
http://lxr.mozilla.org/mozilla/source/webtools/update/themes/moreinfo.php
instead. Otherwise, we lose category highlighting in the left menu.
Something like
if ($category=="Editors Pick" or $category=="Newest" or $category=="Popular" or
$category=="Top Rated") {
$category = "%";
}
after the line
include"inc_sidebar.php";
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Bad links in some extension categories. → Receive Incompatible Extension when Using Special Category
Target Milestone: 2.0 → 1.1
This is for exensions. If this is right, I'll do themes.
Assignee: nobody → Bugzilla-alanjstrBugs
Status: NEW → ASSIGNED
Attachment #172061 -
Flags: first-review?(cst)
Attachment #172061 -
Flags: first-review?(cst) → first-review+
Attachment #172070 -
Flags: first-review?(cst)
Attachment #172070 -
Flags: first-review?(cst)
Attachment #172070 -
Attachment is obsolete: true
Attachment #172071 -
Flags: first-review?(cst)
Comment on attachment 172071 [details] [diff] [review]
Ran amuck with whitespace fixes
sheesh
Looks ok though.
Attachment #172071 -
Flags: first-review?(cst) → first-review+
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Whiteboard: landme
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•