Defect #3308

Wiki comments length validation is missing

Added by Jiongliang Zhang over 8 years ago. Updated over 5 years ago.

Status:ClosedStart date:2009-05-07
Priority:HighDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Wiki
Target version:0.8.4
Resolution:Fixed Affected version:0.8.3

Description

New Issues´╝îwhen the comments length > 255, error happen:

PGError: Error: value too long for type character varying(255):
               UPDATE "wiki_contents" 
              SET "version" = 10, "comments" = E'...'

No validation.

Associated revisions

Revision 2720
Added by Jean-Philippe Lang over 8 years ago

Adds wiki comments length validation (#3308).

History

#1 Updated by Jiongliang Zhang over 8 years ago

Sorry, not "New Issues", it's "Wiki Comments "

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

  • Subject changed from Issues Comments Errors to Wiki comments length validation is missing
  • Category changed from Website (redmine.org) to Wiki
  • Status changed from New to Resolved
  • Target version set to 0.8.4
  • Resolution set to Fixed

Fix committed in r2720.

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

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2746.

Also available in: Atom PDF