Defect #7

bad user submission returns application error.

Added by Satoru KURASHIKI over 11 years ago. Updated over 5 years ago.

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

0%

Category:-
Target version:-
Resolution: Affected version:

Description

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

History

#1 Updated by Jean-Philippe Lang over 11 years ago

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

Jean-Philippe

#2 Updated by Jean-Philippe Lang over 11 years ago

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

Also available in: Atom PDF