Open Bug 1254049 Opened 8 years ago Updated 5 years ago

"use my platform" doesn't correctly choose x86_64 for 64bit Windows 10

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

Harmony
x86_64
Windows 10
defect
Not set
normal

Tracking

()

Bugzilla 6.0

People

(Reporter: xidorn, Assigned: justdave)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When I click "use my platform" under Platform field, it always fills "x86, Windows 10" for me, but actually it should be "x86_64, Windows 10".

My current user agent is
> Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0
It is pretty clear it is x86_64 I believe.
Assignee: create-and-change → nobody
Component: Creating/Changing Bugs → Bug Creation/Editing
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
This problem exists on Harmony as well, so moving upstream.
The relevant code is in 'use constant PLATFORMS_MAP' in Bugzilla/UserAgent.pm
Assignee: nobody → create-and-change
Component: Bug Creation/Editing → Creating/Changing Bugs
Keywords: good-first-bug
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Target Milestone: --- → Bugzilla 6.0
Version: Production → Harmony
Attached patch 1254049.diffSplinter Review
eh, what the heck, the fix is already staring me in the face and this has been sitting around too long.
Assignee: create-and-change → justdave
Attachment #8949650 - Flags: review?
The match for that string was already in there, but it was set to return a value that isn't in the default set of platforms, and didn't have a good fallback set.  So with this patch, now it has a fallback that's actually in the default (and bmo's) platform list.

Removing good-first-bug keyword because team does not have bandwidth to mentor at the moment.

Keywords: good-first-bug
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: