Defect #7

bad user submission returns application error.

Added by Satoru KURASHIKI 548 days ago. Updated 548 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:-
Target 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

2007-02-27 08:14 - Jean-Philippe Lang

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

2007-02-27 12:27 - Jean-Philippe Lang

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

Jean-Philippe

Also available in: Atom PDF