Community
Participate
Working Groups
I mostly do web development, so I have my bugzilla defaults set to defaultplatform=All and defaultopsys=All. When I create a new Task with the browser, these settings are honored. When I create a new Task with Mylyn/Bugzilla client on my Mac the defaultopsys setting is honored, but the Platform is set to Macintosh. I feel both settings should be honored.
Instead of just reporting I decided to look at the source and see if I can supply a patch for once. The cause is entirely different. First of all: In the XML returned by /bugzilla/config.cgi?ctype=rdf the default values as set in bugzilla are not provided! That is why Mylyn must make a guess! Secondly the standard bugzilla install has as OS descriptor for OSX the string "MacOS X", while the string returned by System.getProperty("os.name") is "Mac OS X". Also the eclipse Platform.getOS() reports the OS as "macosx". The mismatch of spaces and case prevents a match in the Mylyn logic in BugzillaCorePlugin.setPlatformOptions(). No match occurs and the OS defaults to All as that is an option in the standard bugzilla setup. The Platform is derived form the eclipse platform string and set to "Macintosh" as a legal bugzilla entry. The default RepositoryTaskData is apparently created with OS "other" and platform "All", so this is not derived from the bugzilla either (see my above defaults); I think that auto-filling in Platform and OS must be an Preference option, or better still a project/product option.
Mylyn does its own platform detection, in a way not consistent with Bugzilla. This is also mentioned in bug 159397. *** This bug has been marked as a duplicate of bug 159397 ***
Changing OS from Mac OS to Mac OS X as per bug 185991