Comment 7 for bug 583623

Revision history for this message
Curtis Hovey (sinzui) wrote :

I would like to fix this by setting the max size of the field to 120, but there are 2325 question that exceed that length--they need to be trunctated., 57 of which are are classified as open or needs-information, and I am not sure I want to truncate the title of an open question. Most of these problem questions are pastes of error logs. I have seen a few questions titles written by users in the 120 to 150 range of characters, and are providing more than a summary of the problem.

There is also the issue that bugs can be converted to questions. Bugs also have no limit on their titles.

The alternate approach is to enforce the limit in the view that creates the question. Its validate method could add an error with a message that asks the user to describe the problem in less than 120 characters. This allows bugs to be converted to questions without convern about the length of the title. Consider that if answers were to be exposed over the API, users could create questions ridiculous lengths?