← Back to team overview

mahara-contributors team mailing list archive

[Bug 1148632] [NEW] Ignore empty space on end of file in CSV user/group uploads

 

Public bug reported:

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

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1148632

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

Status in Mahara ePortfolio:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1148632/+subscriptions


Follow ups

References