← Back to team overview

mahara-contributors team mailing list archive

[Bug 654589] Re: Invalid password on CSV Upload gives a rubbish error message

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
Invalid password on CSV Upload gives a rubbish error message
https://bugs.launchpad.net/bugs/654589
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Fix Released

Bug description:
This error is a bit rubbish:
$string['uploadcsverrorinvalidpassword'] = 'Error on line %s of your file: The password for this user is not in correct form';

The error when trying to choose a password with the non-csv user creation is much clearer:
$string['yournewpassword'] = 'Your new password. Passwords must be at least six characters long and contain at least one digit and two letters';

Perhaps a combination would be best:
Error on line %s of your file: Passwords must be at least six characters long and contain at least one digit and two letters.





References