Bug 445197

Summary: Link from the report table does not show only the selected version
Product: [Community] Bugzilla Reporter: Jan Pazdziora <jpazdziora>
Component: Reporting/ChartingAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: 3.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-17 06:44:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pazdziora 2008-05-05 12:16:31 UTC
Description of problem:

I have a report

http://tinyurl.com/3ed2vh

which specifies a number of versions to be selected and also specifies version
to be shown on the horizontal axis -- the URL after wrapping is

https://bugzilla.redhat.com/report.cgi?x_axis_field=version
        &y_axis_field=component
        &z_axis_field=
        &query_format=report-table
        &short_desc_type=allwordssubstr
        &short_desc=
        &product=Fedora
        &version=7
        &version=8
        &version=rawhide
        &query_format=report-table
        &bug_status=NEW
        &bug_status=ASSIGNED
        &bug_status=NEEDINFO
        &bug_status=MODIFIED
        &bug_status=ON_DEV
        &bug_status=ON_QA
        &bug_status=VERIFIED
        &bug_status=FAILS_QA
        &bug_status=RELEASE_PENDING
        &bug_status=POST
        &bug_status=PASSES_QA
        &long_desc_type=substring
        &long_desc=
        &bug_file_loc_type=allwordssubstr
        &bug_file_loc=
        &status_whiteboard_type=allwordssubstr
        &status_whiteboard=
        &fixed_in_type=allwordssubstr
        &fixed_in=
        &qa_whiteboard_type=allwordssubstr
        &qa_whiteboard=
        &devel_whiteboard_type=allwordssubstr
        &devel_whiteboard=
        &keywords_type=allwords
        &keywords=
        &cust_facing=
        &cust_facing_type=substring
        &emailassigned_to1=1
        &emailtype1=exact
        &email1=
        &emailassigned_to2=1
        &emailreporter2=1
        &emailqa_contact2=1
        &emailcc2=1
        &emailtype2=exact
        &email2=
        &bugidtype=include
        &bug_id=
        &votes=
        &changedin=
        &chfieldfrom=
        &chfieldto=Now
        &chfieldvalue=
        &format=table
        &action=wrap
        &field0-0-0=component
        &type0-0-0=regexp
        &value0-0-0=%5Eperl-%3F

When I hit one of the non-Total numbers in the table, all bugs for the given
components are shown, not just those from the single column. The reason seems to
be that the list of version values from the report gets uses as well as the
version value of that particular column:

https://bugzilla.redhat.com/buglist.cgi?action=wrap
        &bug_file_loc_type=allwordssubstr
        &bug_status=NEW
        &bug_status=ASSIGNED
        &bug_status=NEEDINFO
        &bug_status=MODIFIED
        &bug_status=ON_DEV
        &bug_status=ON_QA
        &bug_status=VERIFIED
        &bug_status=FAILS_QA
        &bug_status=RELEASE_PENDING
        &bug_status=POST
        &bug_status=PASSES_QA
        &bugidtype=include
        &chfieldto=Now
        &cust_facing_type=substring
        &devel_whiteboard_type=allwordssubstr
        &emailassigned_to1=1
        &emailassigned_to2=1
        &emailcc2=1
        &emailqa_contact2=1
        &emailreporter2=1
        &emailtype1=exact
        &emailtype2=exact
        &field0-0-0=component
        &fixed_in_type=allwordssubstr
        &keywords_type=allwords
        &long_desc_type=substring
        &product=Fedora
        &qa_whiteboard_type=allwordssubstr
        &query_format=report-table
        &query_format=report-table
        &short_desc_type=allwordssubstr
        &status_whiteboard_type=allwordssubstr
        &type0-0-0=regexp
        &value0-0-0=%5Eperl-?
        &version=7
        &version=8
        &version=rawhide
        &=
        &component=perl
        &version=8

-- note the version=7, version=8, version=rawhide, and then the version=8 again.

Version-Release number of selected component (if applicable):

2.18-rh as of today.

How reproducible:

Deterministic.

Steps to Reproduce:
1. Use the tinyurl URL above.
2. Click on one of the values in the table. Chose the column where there are
other numbers in other columns, to see the effect.
  
Actual results:

List of bugs from all columns from that row.

Expected results:

List of only those bugs from the one row and column.

Additional info:

Comment 1 David Lawrence 2008-09-16 16:56:12 UTC
Red Hat Bugzilla is now using version 3.2 of the Bugzilla codebase and therefore this bug will need to be re-verified against the new release. With the updated code this bug may no longer be relevant or may have been fixed in the new code.
Updating bug version to 3.2.

Comment 2 Jan Pazdziora 2008-09-17 06:44:32 UTC
This seems to have been fixed.

Closing as CURRENTRELEASE.