|
Lines 148-154
Link Here
|
| 148 |
java2buzillaOSMap.put("aix", "AIX"); |
148 |
java2buzillaOSMap.put("aix", "AIX"); |
| 149 |
java2buzillaOSMap.put("hpux", "HP-UX"); |
149 |
java2buzillaOSMap.put("hpux", "HP-UX"); |
| 150 |
java2buzillaOSMap.put("linux", "Linux"); |
150 |
java2buzillaOSMap.put("linux", "Linux"); |
| 151 |
java2buzillaOSMap.put("macosx", "MacOS X"); |
151 |
java2buzillaOSMap.put("macosx", "Mac OS"); |
| 152 |
java2buzillaOSMap.put("qnx", "QNX-Photon"); |
152 |
java2buzillaOSMap.put("qnx", "QNX-Photon"); |
| 153 |
java2buzillaOSMap.put("solaris", "Solaris"); |
153 |
java2buzillaOSMap.put("solaris", "Solaris"); |
| 154 |
java2buzillaOSMap.put("win32", "Windows XP"); |
154 |
java2buzillaOSMap.put("win32", "Windows XP"); |
|
Lines 468-474
Link Here
|
| 468 |
// to null, and use "other" |
468 |
// to null, and use "other" |
| 469 |
bugzillaPlatform = null; |
469 |
bugzillaPlatform = null; |
| 470 |
} |
470 |
} |
| 471 |
|
471 |
if (bugzillaPlatform!= null && bugzillaPlatform.compareTo("PC")== 0 && |
|
|
472 |
bugzillaOS!= null && bugzillaOS.compareTo("Mac OS")== 0) |
| 473 |
// Intel Mac's return PC as Platform because the OSArch == "x86" |
| 474 |
// so we change the Plaform if the bugzilla OS tell us it is an Mac OS |
| 475 |
// |
| 476 |
// btw bugzilla 3.0rc1 set Platform to PC in enter_bug.cgi pickplatform |
| 477 |
// move line 225 before 202 to fix this. |
| 478 |
bugzillaPlatform = "Macintosh"; |
| 472 |
// Set the OS and the Platform in the taskData |
479 |
// Set the OS and the Platform in the taskData |
| 473 |
if (bugzillaOS != null && opSysAttribute != null) { |
480 |
if (bugzillaOS != null && opSysAttribute != null) { |
| 474 |
opSysAttribute.setValue(bugzillaOS); |
481 |
opSysAttribute.setValue(bugzillaOS); |