Defect #7

bad user submission returns application error.

Added by Satoru KURASHIKI almost 16 years ago. Updated about 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:


When I tried to add New User with bad form(password less than 4 characters),
I got this error:

GLoc::InvalidKeyError in Users#add

Showing app/views/users/_form.rhtml where line #1 raised:

Symbol or String expected as key.
I found this part received "activerecord_error_too_short4" symbol.
(and guess it can't found that key at language.yml file.)

my environment:
trunk version of redMine on Windows
sqlite3 with load_default_data


#1 Updated by Jean-Philippe Lang almost 16 years ago

I've just committed the fix in the trunk.
Thanks for your submission.


#2 Updated by Jean-Philippe Lang almost 16 years ago

Right. I'll have a look at it asap.

Also available in: Atom PDF