Closed Bug 463230 Opened 16 years ago Closed 16 years ago

CaseRun Status report/table links not filtering by Status

Categories

(Testopia :: Reports, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: archeman2, Assigned: gregaryh)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)
Build Identifier: Bugzilla 3.0.5, Testopia 2.0

When I run a Testopia report that gives me a table breaking out the 
> Test Run cases by Status it returns a table with the proper counts 
> just fine. When I try to use the different caserun Status search links 
> in the report however they are not correctly broken out by Status and 
> instead return all Status rows.
>  
> I have found that when I manipulate the URL that I can get it to work 
> however...
>  
> The original CaseRun list URL looks like this: 
>  
> http://atone-sql-qa:8090/bugzilla/tr_list_caseruns.cgi
> ?_dc=1225750086365
> &andor=0
> &assignee=
> &assignee_type=substring&case_id=
> &case_summary=
> &case_summary_type=allwordssubstr
> &current_tab=case_run
> &field-1-0-0=caserun_prod
> &isactive=1
> &notes=
> &notes_type=allwordssubstr
> &plan_id=
> &product_id=13
> &qname=MultiClose-CaseRunStatusByBuild
> &report=1
> &requirement=
> &requirement_type=allwordssubstr
> &run_id=
> &tags=
> &tags_type=anyexact
> &testedby=
> &testedby_type=substring
> &type-1-0-0=anyexact
> &value-1-0-0=13
> &viewall=1
> &=
> &status=FAILED
>  
> But if I switch the string
> '&status=FAILED' with
> '&case_run_status_id=3' 
>  
> The CaseRun list result is correctly filtered to just show the Failed 
> CaseRuns.

Reproducible: Always

Steps to Reproduce:
1. Run a Testopia Report (table layout) that includes CaseRun Status as a criteria
2. In the resulting table report, select any of the links that define a CaseRun Status
3. In the resulting CaseRun summary page, note that all Status values have been returned, not only the the Status that you selected.
Actual Results:  
All CaseRun Status values are returned

Expected Results:  
Expected that the CaseRun Status values would be filtered
    Checking in Bugzilla/Testopia/TestCaseRun.pm;
    /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/TestCaseRun.pm,v  <--  TestCaseRun.pm
    new revision: 1.62; previous revision: 1.61
    done
    Checking in Bugzilla/Testopia/Report.pm;
    /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/Report.pm,v  <--  Report.pm
    new revision: 1.6; previous revision: 1.5
    done
    rlog: /cvsroot/mozilla/webtools/testopia/Bugzilla/Testopia/TestCaseRun.pm,v: warning: Unknown phrases like `commitid ...;' are present.
    Checking in template/en/default/testopia/product/show.html.tmpl;
    /cvsroot/mozilla/webtools/testopia/template/en/default/testopia/product/show.html.tmpl,v  <--  show.html.tmpl
    new revision: 1.13; previous revision: 1.12
    done
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.