Error message when submitting a new test run

RESOLVED FIXED

Status

Testopia
Test Runs
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: Kristian Karl, Assigned: Greg Hendricks)

Tracking

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: 2.0

When submitting a new test run, Testopia gives an error message saying: "Target Completion and Pass rates must be a number between 0 and 100 inclusive."
I did not find any documentation referencing this specific completion or pass rate, or where to set the value for the completion or pass rate.


Reproducible: Always

Steps to Reproduce:
1) Logg myself in at http://landfill.bugzilla.org/testopia2/ as kristian.karl@prolore.se
2) Created a new test plan id=880
3) Created 2 new test cases to the test plan
4) Created a new test run to the test plan
5) Filled in all mandatory fields.
6) Submitted the new test run by clicking the Submit button.

Actual Results:  
An error message saying: "Target Completion and Pass rates must be a number between 0 and 100 inclusive."

Expected Results:  
The new test run was successfully created and added to the test plan
(Reporter)

Comment 1

10 years ago
Created attachment 334871 [details]
Screen dump of the error

A screen dump of the fault displaying the error message
(Assignee)

Comment 2

10 years ago
forgot to run checksetup. try now
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

10 years ago
Yes it works now.
A thought though. Should not the fields "Target Completion Rates" and "Target Pass Rate" be marked as mandatory using a bold font? I cannot submit a Run until both fields are filled with valid numbers.
(Assignee)

Comment 4

10 years ago
Ooops, It should allow those to be blank. Good catch.

    Checking in template/en/default/testopia/run/show.html.tmpl;
    /cvsroot/mozilla/webtools/testopia/template/en/default/testopia/run/show.html.tmpl,v  <--  show.html.tmpl
    new revision: 1.51; previous revision: 1.50
    done
    rlog: /cvsroot/mozilla/webtools/testopia/template/en/default/testopia/run/show.html.tmpl,v: warning: Unknown phrases like `commitid ...;' are present.
    Checking in Bugzilla/Testopia/TestRun.pm;
    /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/TestRun.pm,v  <--  TestRun.pm
    new revision: 1.63; previous revision: 1.62
    done
    rlog: /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/TestRun.pm,v: warning: Unknown phrases like `commitid ...;' are present.
    Checking in testopia/js/run.js;
    /cvsroot/mozilla/webtools/testopia/testopia/js/run.js,v  <--  run.js
    new revision: 1.31; previous revision: 1.30
You need to log in before you can comment on or make changes to this bug.