Invalid password on CSV Upload gives a rubbish error message

Bug #654589 reported by Andrew Nicols
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Andrew Nicols

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.

Revision history for this message
Andrew Nicols (dobedobedoh) wrote :

I went for the combination approach

Changed in mahara:
status: New → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
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.