Closed Bug 275923 Opened 20 years ago Closed 20 years ago

Receive Incompatible Extension when Using Special Category

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: FarkFnord, Assigned: Bugzilla-alanjstrBugs)

References

()

Details

Attachments

(3 files, 1 obsolete file)

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. ***
Assignee: psychoticwolf → nobody
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";
Target Milestone: 1.0 → 2.0
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+
Attached patch Patch for themes (obsolete) — Splinter 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+
OS: Windows XP → All
Hardware: PC → All
Whiteboard: landme
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: landme
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: