Closed Bug 24704 Opened 25 years ago Closed 24 years ago

OS field in bugzilla doesn't pick up Windows NT

Categories

(Bugzilla :: Bugzilla-General, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 21131

People

(Reporter: phil, Assigned: justdave)

Details

(Whiteboard: 2.16)

The user-agent for mozilla on NT seems to be: Mozilla/5.0 [en-US] (Windows_NT; I) but when I file bugs, the OS field always says "other".
I notice that 4.x uses "WinNT" rather than "Windows_NT". So maybe the real bug is that the user-agent is wrong?
This is looking like a DUP of either bug 21131, "user agent string breaks bugzilla's os/platform input feature", ASSIGNED, M14, fix in hand, OR bug 23583, "Platform and OS not detected", depending on whether you want to wait for Mozilla to start sending a User Agent string more like 4.x's or arrange for Bugzilla to handle more variations, "just in case". Quoting from a webserver log: "Mozilla/4.7 [en] (WinNT; I)" "Mozilla/5.0 [en-US] (Windows_NT; I)"
cc'ing wtc since I believe the OS string is picked up from NSPR.
PR_GetSystemInfo(PR_SI_SYSNAME) returns "Windows_NT", "Windows_98", and "Windows_95" (see bug #15738). You can map these strings to the desired OS names for your application, e.g., "Windows_NT" ==> "WinNT".
Warren, should necko be doing this mapping?
It is worth considering to change PR_GetSystemInfo to return the exact OS names that Mozilla uses, if Mozilla's OS names are general enough. Is there a list? However, NSPR is in code freeze for the 4.0 release. So I'm not sure if we'll be able to get this change in. Once 4.0 is released, we won't be able to change this until 5.0.
tara@tequilarista.org is the new owner of Bugzilla and Bonsai. (For details, see my posting in netscape.public.mozilla.webtools, news://news.mozilla.org/38F5D90D.F40E8C1A%40geocast.com .)
Assignee: terry → tara
is this still an issue? or is this resolved now?
QA Contact: matty
Whiteboard: 2.14
Whiteboard: 2.14 → 2.16
moving to real milestones...
Target Milestone: --- → Bugzilla 2.16
Not a problem anymore. Sean's probably right that it was a dup of bug 21131. *** This bug has been marked as a duplicate of 21131 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
V.
Status: RESOLVED → VERIFIED
moving to Bugzilla product reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Target Milestone: Bugzilla 2.16 → ---
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.