← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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.

** Affects: mahara
     Importance: Low
     Assignee: Andrew Nicols (dobedobedoh)
         Status: Fix Committed


** Tags: creation language password user

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

-- 
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 Committed

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.





Follow ups

References