Closed Bug 425305 Opened 18 years ago Closed 18 years ago

"Add to Firefox" sometimes erroneously enabled for non-compat add-ons on Recommended category-landing pages

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: cpollett)

References

()

Details

Attachments

(1 file)

Sometimes on the category landing pages, in at least the Recommended add-on's div, the install-detection code enables the "Add to Firefox" button code, where in its compat and details page, it's disabled (rightly so). Screenshots explain it better than I.
Target Milestone: --- → 3.4
Target Milestone: 3.4 → 3.2.1
Assignee: nobody → cpollett
I am working on a patch for this. But first I am doing a little testing trying to reproduce it in the test DB. In doing so, I noticed another similar problem (which we probably have the same fix). The above problem is for a button of a recommended add-on when the extension is for an older version of firefox. In testing, if a sandboxed item is recommended (why I don't know) you won't see the word experimental when it is displayed. I am pretty sure these are related, so will try to fix both.
Attached patch button fix — — Splinter Review
The bug in question seems to only occur for search engines, although I can't say I've tested all the paths beginning with the browse method of addons_controller. Basically, one line was missing from the render feature element cal in the searchengines.thtml view, that was present in the other similar views (category_landing.thtml,etc) where the compatibility check was passed. Somehow I wish some of these views could be consolidated/abstracted to avoid such lost updates.
Attachment #313403 - Flags: review?
Attachment #313403 - Flags: review? → review?(morgamic)
Attachment #313403 - Flags: review?(morgamic) → review+
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
I discovered bug 426967 while verifying this, however _this_ bug is verified FIXED: http://img145.imageshack.us/my.php?image=picture6ax2.png
Status: RESOLVED → VERIFIED
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: