Project

General

Profile

Actions

Defect #19840

closed

Missing validation for description size of versions

Added by Bruno Orcha García over 9 years ago. Updated over 9 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

We're using redmine 2.6.5. When you're creating a new version from the prjoect settings and try to write a log description (greatest of 255 characters) an internal error is shown.

Reviewing logs an error in the database appears with the message: "value too long for type character varying(255)"

It appears that the maximum size of the description of the versions is not checked.


Files

version-validate-desription.diff (555 Bytes) version-validate-desription.diff Bruno Orcha García, 2015-05-14 15:18
Actions #1

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.6.6

Patch applied in r14267, thanks for pointing this out.

Actions #2

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Fixed
Actions

Also available in: Atom PDF