Bug 843396

Summary: Summary field in header of generated CSV file is missing
Product: [Community] Bugzilla Reporter: Jan Stodola <jstodola>
Component: Query/Bug ListAssignee: Matt Tyson 🤬 <mtyson>
Status: CLOSED UPSTREAM QA Contact: Simon Green <sgreen>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2CC: ebaak, jzhao
Target Milestone: 4.2-5Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 21:14:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Generated CSV file none

Description Jan Stodola 2012-07-26 08:43:23 UTC
Description of problem:
When bugzilla generates a CVS file for a bugzilla query, header (the first line in CSV file) doesn't contain the name of column with summaries.

Content of generated CSV file:
"Bug ID","Status","Resolution","Component","Priority",,"Keywords","Devel Whiteboard","Blocks"
750584,"CLOSED","WONTFIX","anaconda","urgent","DVD media from FlashUSB does not find any packages","Reopened",,
585621,"CLOSED","WONTFIX","anaconda","urgent","anaconda hangs when booting development fc13 installer",,,

Bugzilla query:
https://bugzilla.redhat.com/buglist.cgi?bug_status=CLOSED&classification=Fedora&component=anaconda&list_id=342480&priority=urgent&product=Fedora&query_format=advanced&resolution=WONTFIX&token=1343290359-74957a3b760081f13d2074751c95731f&ctype=csv&human=1


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

How reproducible:
always

Steps to Reproduce:
1. Search for a list of bugs via web UI
2. Generate CSV file from the search result
  
Actual results:
Summaries column doesn't have a description in the first line of CSV file:
"Bug ID","Status","Resolution","Component","Priority",,"Keywords","Devel Whiteboard","Blocks"

Expected results:
Summaries column has a description like this:
"Bug ID","Status","Resolution","Component","Priority","Summary","Keywords","Devel Whiteboard","Blocks"

Comment 1 Jan Stodola 2012-07-26 08:44:49 UTC
Created attachment 600459 [details]
Generated CSV file

Comment 2 Matt Tyson 🤬 2012-08-29 06:24:15 UTC
Every CSV file I've generated (your URL included) works fine and contains the Summary column header.

Comment 3 Jan Stodola 2012-08-29 07:46:42 UTC
There are actually two types of Summary column available:

* Summary (Full)
* Summary (first 60 characters)

If you add both of them to the generated CSV file (using "Change Columns" link on the page with found bugs), you can see that the column for "Summary (first 60 characters)" doesn't have the column header generated.

Sorry for the confusion, reopening this bug.

Comment 6 Simon Green 2012-08-30 21:14:03 UTC
We'll inherit this change from upstream. It was marked as r+ a+ a4.2+ yesterday.