anbuashokcs / jforum2

Automatically exported from code.google.com/p/jforum2
Other
0 stars 0 forks source link

100 char topic subject exceeds 100 chars when someone replies due to "RE:" pre-appended #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Submit new topic with max chars in Subject field (I believe default is 100)
2.Reply to the topic, which will make the subject for that message RE:<original 
subject>
3.Submit the reply and see PSQLException shown to user.

What is the expected output? What do you see instead?
The default max length of the subject line should not be 100 and also 100 as 
the default table column length value if you're expecting 3 extra characters to 
be added to each reply.

What version of the product are you using? On what operating system,
database, and application server/servlet container?
* Product: JForum 2.3.6
* OS: Linux
* DB: Postgres
* AP: Tomcat 7

Please provide any additional information below.

Original issue reported on code.google.com by Pughy12...@gmail.com on 22 Jan 2015 at 4:37

GoogleCodeExporter commented 9 years ago
This is fixed in r382 by enlarge topic_title to varchar(120) and post_subject 
to varchar(130) and modify post_form.htm's maxlength control

Original comment by andow...@gmail.com on 24 Jan 2015 at 5:13