Closed Bug 426003 Opened 17 years ago Closed 17 years ago

Version History still seems to filter by OS platform

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: baz, Assigned: reed)

References

()

Details

Attachments

(1 file, 3 obsolete files)

Using Windows, I can still can't see all the previous versions available for this addon. Compare the output of this page with: https://addons.mozilla.org/en-US/firefox/admin/addons?q=PicLens+%5B5579%5D You'll notice several public MacOS versions of this add-on that do not appear on this page. We should be doing NO filtering on this page.
Attached patch patch - v1 (obsolete) (deleted) — Splinter Review
Something like this?
Assignee: nobody → reed
Status: NEW → ASSIGNED
Attachment #312570 - Flags: review?(fwenzel)
Attached patch patch - v1.1 (obsolete) (deleted) — Splinter Review
Oops, try again without the extra semicolon.
Attachment #312570 - Attachment is obsolete: true
Attachment #312571 - Flags: review?(fwenzel)
Attachment #312570 - Flags: review?(fwenzel)
Attached patch patch - v1.2 (obsolete) (deleted) — Splinter Review
I'm cursed tonight, it seems. Try again with proper indentation. Sigh.
Attachment #312571 - Attachment is obsolete: true
Attachment #312572 - Flags: review?(fwenzel)
Attachment #312571 - Flags: review?(fwenzel)
Reed, does your patch fix 425326, too?
To answer on behalf of reed, no, bug 425326 is not fixed by this. Over there, it's likely something that has to happen in JavaScript, while reed's patch is PHP magic only.
Your patch looks good, Reed, however I noticed that the controller name "addons" we check for needs an upper case first letter. The attachment changes this. That being said, r+ from my side. Note: Bug 425326 shows pretty clearly here when this is applied: On the piclens page, this results in *two* install buttons per version, both labeled "Add to Firefox (Windows)", but that's to be fixed over there, not here.
Attachment #312572 - Attachment is obsolete: true
Attachment #312743 - Flags: review?(reed)
Attachment #312572 - Flags: review?(fwenzel)
Comment on attachment 312743 [details] [diff] [review] Upper case "Addons" for controller name (In reply to comment #6) > Your patch looks good, Reed, however I noticed that the controller name > "addons" we check for needs an upper case first letter. The attachment changes > this. You mean this has been broken for a while? Look at this line: >- if (APP_ID == APP_FIREFOX && !empty($compatible_apps) >- && !($this->name == 'addons' && $this->action == 'versions')) { Note the 'addons' there... so, that's been broken? Either way, you're way more familiar with this code than me, so if that's the only problem, then r=me for your one character change.
Attachment #312743 - Flags: review?(reed) → review+
Target Milestone: --- → 3.2.1
(In reply to comment #7) > You mean this has been broken for a while? Yes, so it seems. Thanks for the r+, will check this in later.
I have checked this in to r11823. Thanks for the patch, reed.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: push-needed
Resolution: --- → FIXED
Reed, Fred, can you verify if this has fixed bug 426793? If not, I think we should make bug 426793 a dependency since we are not listing all the available versions. Thanks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Yes, we are now listing all OS-specific versions no matter what platform the visitor is on. Bug 426793 now shows sandboxed versions for sandboxed add-ons too. Note that for public add-ons, sandboxed versions (upcoming updates, for example) are not being shown. Is that the intended behavior, Basil? If not, we need to reopen bug 426793.
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
That makes sense Fred. Once logged in, the complete version history can show the sandbox'ed versions as well.
Verified FIXED using both http://remora-trunk.php5stage.mozilla.com and https://addons.mozilla.org instances with their respective URLs from comment 0 and the URL field in Bugzilla.
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

Created:
Updated:
Size: