Closed Bug 541732 Opened 16 years ago Closed 16 years ago

OS version set in QAC not recognized as "legal."

Categories

(Other Applications Graveyard :: QA Companion, defect)

Other Branch
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: 4slam, Unassigned)

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.1pre) Gecko/20100123 Ubuntu/9.10 (karmic) Namoroka/3.6.1pre Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.1pre) Gecko/20100123 Ubuntu/9.10 (karmic) Namoroka/3.6.1pre The Platform, OS, etc. settings chosen in Preferences/QA Companion are not seen as "legal." This prevents me from submitting a bug. Reproducible: Always Steps to Reproduce: 1. Set the QAC prefs for Linux & Firefox 3.6 2. Launch QAC 3. Submit new bug Actual Results: Error: "A legal OS/Version was not set." Bug is not submitted. Expected Results: Bug is submitted.
QAC v. 1.2.1
Version: unspecified → Other Branch
Strange, this is a caught error on Bugzilla's side, i.e., see (http://mxr.mozilla.org/webtools/source/bugzilla/contrib/bugzilla-submit/bugzilla-submit#238). Apparently it's not letting you file a bug - this is bad. Aslam, can you check this preference (qa.extension.config.os) in Firefox and report what it is currently set at? I dont suspect there should be any issues with you running x86_64, but we wont rule it out.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I just reproduced with 1.2.1 on Linux Ubuntu 9.04 i686 and Windows XP on the 3.6 branch. I have a suspicion that some backend code changed with Bugzilla 3.44 recently. We create bug objects with the following specifiers and post them through Bugzilla RPC: summary, description, product, component, version, status, op_sys, platform Dave: Did the recent upgrade change anything RPC related, in particular perhaps op_sys? Heather: Any ideas?
OS: Linux → All
Hardware: x86_64 → All
(In reply to comment #3) > Aslam, can you check > this preference (qa.extension.config.os) in Firefox and report what it is > currently set at? > qa.extension.config.os = Linux I'll attach a screenshot showing all qa.extension settings.
Where do you get your list of op_sys values from? They can be retrieved from Bugzilla, and bmo's list of legal values does not match the upstream list, so you shouldn't be hard-coding them. And yes, the 3.4 upgrade had a major overhaul of the XMLRPC API, but that was back in November.
Looks at the screenshot, I think it's your platform value that's actually in error. There is no "Linux" value in the Platform field on bmo.
Thanks for reporting aslam! The preferences coorespond to the Litmus values, it was submitting the platform correctly but not submitting anything for the operating system. I was afraid to test it out on the real Bugzilla, but I guess it might have been a good idea )-: This patch will fix this issue.
Attachment #423216 - Flags: review?(aaron.train)
Comment on attachment 423216 [details] [diff] [review] fix for reporting opsys to Bugzilla >@@ -261,6 +261,9 @@ > else if(/Linux-maemo/.exec(platformPref)) { > opsys = 'Linux(embedded)'; > } From where are you getting "Linux(embedded)"? It's actually "Linux (embedded)" (with the space).
Comment on attachment 423216 [details] [diff] [review] fix for reporting opsys to Bugzilla Tested this out, and I submitted a bug report successfully. Thanks Harth!
Attachment #423216 - Flags: review?(aaron.train) → review+
Sending chrome/content/tabs/bugzilla.js Transmitting file data . Committed revision 61095. Fixed Linux embedding space as well. When we start using the REST API we can test against the staging that has the same platforms/products as real Bugzilla, will be sweet.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
uploaded new version with fix to AMO
verified fixed with 1.2.2
Status: RESOLVED → VERIFIED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: