Defect #27330

"Name" field in the 'edit version' form has no "maxlength"

Added by Vasili Korol almost 5 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:


Target version:4.1.0
Resolution:Fixed Affected version:3.4.3


  1. Edit a version (project settings -> versions -> "Edit" some version in the list)
  2. try to input a long "name" in the form (>60 characters)
  3. click "Save"
  4. A request is sent to the server; as the result, the form complains about "Name is too long (maximum is 60 characters)".

The <input> tag for version name should have attribute maxlength set to "60". Then the content of that field will naturally be limited to 60 characters.

I attach a patch for this (created on trunk r17016).

version_form_name_maxlength.diff Magnifier (586 Bytes) Vasili Korol, 2017-10-30 16:02

version_form_name_maxlength_v2.patch Magnifier - CORRECTED (643 Bytes) Vasili Korol, 2017-10-30 16:10

Associated revisions

Revision 17746
Added by Jean-Philippe Lang over 3 years ago

Adds maxlength to version name input (#27330).

Patch by Vasili Korol.


#1 Updated by Vasili Korol almost 5 years ago

Sorry, the first patch i attached was created in the wrong folder (and thus contains wrong path to the modified file).
I now attach the corrected patch, created from the root folder of the Redmine repo.

#2 Updated by Toshi MARUYAMA over 4 years ago

  • Target version set to 4.1.0

#3 Updated by Jean-Philippe Lang over 3 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks.

Also available in: Atom PDF