Bug 1085238

Summary: CSV import doesn't complain when an empty CSV file is supplied
Product: [Retired] Beaker Reporter: Amit Saha <asaha>
Component: generalAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.16CC: aigao, asaha, dcallagh, ebaak, rmancy, xjia
Target Milestone: 0.16.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-28 23:00:32 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:

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.