Ignore empty space on end of file in CSV user/group uploads

Bug #1148632 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Low
Unassigned

Bug Description

Currently CSV uploads of users and groups error out if there are empty lines on the end of your file. It probably wouldn't be hard to ignore those.

To replicate:

1. Go to the "Add users by CSV" page or the "Update group members by CSV" page
2. Upload an otherwise valid CSV file that has two empty lines on the end
3. Submit it

Expected result: The program processes the CSV and ignores the empty lines
Actual result: The program gives you an error message about seeing an unexpected number of columns on the empty line

Changed in mahara:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.