Bug 972411

Summary: submitting malformed CSV to CSV import causes 500 error
Product: [Retired] Beaker Reporter: wangjing <jingwang>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: wangjing <jingwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.12CC: asaha, dcallagh, llim, qwan, rglasz, rmancy
Target Milestone: 0.13.x   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-11 02:44:59 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:

Comment 1 Dan Callaghan 2013-06-19 00:30:59 UTC
On Gerrit: http://gerrit.beaker-project.org/2040

Comment 3 wangjing 2013-06-21 02:18:29 UTC
Verify:
1. Admin->Import
2. import a wrong file, such as a picture.
3. click button 'Import CSV'.

Actual results:
same as expected results.

Expected results:
no 500 errors and return proper warning text 'Missing csv_type from record
Error parsing CSV file: line contains NULL byte'

Version:
beaker-server-0.13.1-1.git.16.497fc35.el6.noarch
beaker-0.13.1-1.git.16.497fc35.el6.noarch
beaker-server-redhat-0.1.14-1.el6eng.noarch

Comment 4 Amit Saha 2013-07-11 02:44:59 UTC
Beaker 0.13.2 has been released. (http://beaker-project.org/docs/whats-new/release-0.13.html#beaker-0-13-2).