Bug 972411 - submitting malformed CSV to CSV import causes 500 error
submitting malformed CSV to CSV import causes 500 error
Status: CLOSED CURRENTRELEASE
Product: Beaker
Classification: Community
Component: web UI (Show other bugs)
0.12
Unspecified Unspecified
unspecified Severity medium (vote)
: 0.13.x
: ---
Assigned To: Dan Callaghan
wangjing
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-09 04:27 EDT by wangjing
Modified: 2013-07-10 22:44 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-10 22:44:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 1 Dan Callaghan 2013-06-18 20:30:59 EDT
On Gerrit: http://gerrit.beaker-project.org/2040
Comment 3 wangjing 2013-06-20 22:18:29 EDT
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-10 22:44:59 EDT
Beaker 0.13.2 has been released. (http://beaker-project.org/docs/whats-new/release-0.13.html#beaker-0-13-2).

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