Defect #3128

Inform about custom field's name maximum length

Added by Daniel Stoyanov over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:2009-04-06
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Custom fields
Target version:0.9.0
Resolution:Fixed Affected version:

Description

Custom field's name is limited to 30 chars, but there is no message that informs the user about that (no information text). Also when longer value is submitted the error message "Name is too long" doesn't specify the maximum length.
Possible solution : put information text under the field or change the error message to something like "Name is too long. Maximum 30 characters allowed".

Redmine revision: 2659

Associated revisions

Revision 2666
Added by Jean-Philippe Lang over 8 years ago

Inform about minimum/maximum field lengths in error messages (#3128).

History

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

  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

Fixed in r2666 for english locale. Error messages are now:

too_long: "is too long (maximum is {{count}} characters)" 
too_short: "is too short (minimum is {{count}} characters)" 

Also available in: Atom PDF