Project

General

Profile

Actions

Defect #7

closed

bad user submission returns application error.

Added by Satoru KURASHIKI almost 17 years ago. Updated about 11 years ago.

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

0%

Estimated time:
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

Actions #1

Updated by Jean-Philippe Lang almost 17 years ago

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

Actions #2

Updated by Jean-Philippe Lang almost 17 years ago

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

Jean-Philippe

Actions

Also available in: Atom PDF