Project

General

Profile

Actions

Defect #27330

closed

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

Added by Vasili Korol about 7 years ago. Updated almost 6 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

  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).


Files

Actions #1

Updated by Vasili Korol about 7 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.

Actions #2

Updated by Toshi MARUYAMA almost 7 years ago

  • Target version set to 4.1.0
Actions #3

Updated by Jean-Philippe Lang almost 6 years ago

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

Committed, thanks.

Actions

Also available in: Atom PDF