Defect #7

bad user submission returns application error.

Added by Satoru KURASHIKI about 5 years ago. Updated about 5 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

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

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 about 5 years ago

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

#2 Updated by Jean-Philippe Lang about 5 years ago

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

Jean-Philippe

Also available in: Atom PDF