Bug 843396 - Summary field in header of generated CSV file is missing
Summary: Summary field in header of generated CSV file is missing
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Bugzilla
Classification: Community
Component: Query/Bug List
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 4.2-5
Assignee: Matt Tyson 🤬
QA Contact: Simon Green
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-26 08:43 UTC by Jan Stodola
Modified: 2018-12-09 06:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 21:14:03 UTC
Embargoed:


Attachments (Terms of Use)
Generated CSV file (311 bytes, text/plain)
2012-07-26 08:44 UTC, Jan Stodola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 786889 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.