Bug 1085238 - CSV import doesn't complain when an empty CSV file is supplied
Summary: CSV import doesn't complain when an empty CSV file is supplied
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 0.16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.16.2
Assignee: Amit Saha
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-08 07:46 UTC by Amit Saha
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-28 23:00:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Amit Saha 2014-04-08 07:46:39 UTC
Description of problem:


Right now, you can supply an empty CSV file (with only the headers) and it will not report any error message.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Reports an error message.


Additional info:

Comment 2 Amit Saha 2014-04-08 08:27:12 UTC
http://gerrit.beaker-project.org/#/c/3006/

Comment 4 xjia 2014-04-15 05:02:03 UTC
Verify:

[jason@dhcp-65-193 Downloads]$ cat system.csv 
csv_type,fqdn,deleted,lender,location,mac_address,memory,model,serial,vendor,arch,lab_controller,owner,secret,status,type,cc


After importing this csv file, it tells:
Error Log
Empty CSV file supplied

Comment 5 Dan Callaghan 2014-04-28 23:00:32 UTC
Beaker 0.16.2 has been released.


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