Additionally, the error message that gets displayed to the user contains
some "br" tags that get printed directly. That needs to be cleaned up as
well:

Line 2 of the file specifies the email address "[email protected]" that
is already taken by another user.<br> Line 2 of the file specifies a
remote username "fake" that is already taken by the user "".<br> Line 2
of the file specifies the username "paula" that already exists.<br> Line
3 of the file specifies the email address "[email protected]" that is
already taken by another user.<br> Line 3 of the file specifies a remote
username "petra" that is already taken by the user "".<br> Line 3 of the
file specifies the username "petra" that already exists.<br> Line 4 of
the file specifies the email address "[email protected]" that is already
taken by another user.<br> Line 4 of the file specifies a remote
username "Polly" that is already taken by the user "".<br> Line 4 of the
file specifies the username "polly" that already exists.

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

Title:
  Ignore duplicates in CSV upload

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  When an institution wants to upload their users via a csv file, but
  some of their users already have a Mahara account, i.e. the email
  address already exists in Mahara, an error message is returned and no
  new user accounts are created.

  Instead, only these duplicates should be ignored and all other
  accounts should be created. Thus, when a csv file is uploaded and
  existing accounts / email addresses are encountered, convert the error
  message into a warning that is printed to the screen and keep going
  with the account creation.

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to