Defect #3308

Wiki comments length validation is missing

Added by Jiongliang Zhang about 3 years ago. Updated 22 days ago.

Status:Closed Start date:2009-05-07
Priority:High Due date:
Assignee:Jean-Philippe Lang % Done:

0%

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

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 about 3 years ago

Adds wiki comments length validation (#3308).

History

#1 Updated by Jiongliang Zhang about 3 years ago

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

#2 Updated by Jean-Philippe Lang about 3 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 about 3 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2746.

Also available in: Atom PDF