Defect #19840

Missing validation for description size of versions

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

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

0%

Category:Project settings
Target version:2.6.6
Resolution:Fixed Affected version:2.6.5

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.

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

Associated revisions

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

Missing validation for description size of versions (#19840).

Patch by Bruno Orcha García.

History

#1 Updated by Jean-Philippe Lang over 3 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.

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

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

Also available in: Atom PDF