Closed
Bug 450143
Opened 16 years ago
Closed 12 years ago
don't populate Build ID# if test is non-browser product, eg Thunderbird
Categories
(Webtools Graveyard :: Litmus, defect, P1)
Webtools Graveyard
Litmus
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: wsmwk, Unassigned)
Details
Attachments
(1 file)
4.10 KB,
patch
|
coop
:
review-
|
Details | Diff | Splinter Review |
please don't populate Build ID# if test is non-browser product, eg Thunderbird situation is similar to bugzilla's guided entry form....we have and will continue to have testers to aren't too experienced. So if the Build ID# is filled in with the browser's UA, then the tester doesn't notice they need to change it, or thinks they don't have to replace it. Their tests get tagged with the wrong build id - then reporting, vetting, etc becomes is a mess :(
Comment 1•15 years ago
|
||
This is messing up all products non firefox, and can cause reporting headaches.
Priority: -- → P1
Updated•15 years ago
|
Severity: normal → blocker
Comment 2•15 years ago
|
||
What page does this occur on? At first sight, I was not able to find where the build ID is pre-populated in the first place.
Reporter | ||
Comment 3•15 years ago
|
||
1. https://litmus.mozilla.org/ 2. pick thunderbird catchall tests, i.e. https://litmus.mozilla.org/run_tests.cgi?test_run_id=30 expected results: build id would be empty actual results: build id# has been populated with firefox's buildid ... despite it's thunderbird testrun
Comment 4•15 years ago
|
||
Thanks, I can confirm this and will fix it.
Comment 5•15 years ago
|
||
This patch only sniffs the build ID if a) test run is browser-related (i.e., Firefox or SeaMonkey) and b) the test run's browser type matches the one currently used. Coop, if you feel somebody else should review these patches, please let me know.
Comment 6•15 years ago
|
||
Comment on attachment 365637 [details] [diff] [review] Reduce build ID sniffing I dislike having the pids in there. Could we not change Litmus::DB::TestRun->getTestRunWithRefs to return the product name, and then compare that directly? if (product.toLowerCase() == test_run['product_id']['product_name'].toLowerCase()) {
Attachment #365637 -
Flags: review?(ccooper) → review-
Reporter | ||
Comment 7•15 years ago
|
||
Frédéric, possible to drive in revised patch?
Comment 8•15 years ago
|
||
Sorry, I haven't got to it lately. I'm still planning on making a new patch, but if you want to pick up my patch and change it according to coop's comments in comment 6, please go right ahead.
Comment 9•15 years ago
|
||
(In reply to comment #6) > I dislike having the pids in there. Could we not change > Litmus::DB::TestRun->getTestRunWithRefs to return the product name, and then > compare that directly? Coop, I don't know why the product model (referenced by the testrun model) does not already contain the name? I think I need Perl advice :)
Comment 10•15 years ago
|
||
reducing severity for now. If anyone knowing more about Perl than I do wants to help out on comment 9, thanks in advance.
Severity: blocker → major
Updated•13 years ago
|
Assignee: fwenzel → nobody
Status: ASSIGNED → NEW
Comment 11•12 years ago
|
||
Litmus is being decommissioned in bug 802674. Visit https://moztrap.mozilla.org for your testing needs.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•