Defect #27330

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

Added by Vasili Korol about 1 year ago. Updated about 1 year ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:4.1.0
Resolution: 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


#1 Updated by Vasili Korol about 1 year 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 about 1 year ago

  • Target version set to 4.1.0

Also available in: Atom PDF