In our OpenAtrium setup, we can reply to comments via Mailcomment + Mailhandler. If the email subject is longer than 64 chars (varchar64), the comment is not added, giving a message:

Data too long for column 'subject' at row 1 query: INSERT INTO comments ...... in ...modules\comment\comment.module on line 764.

Shouldn't the comment.module truncate the subject? Thanks for any help.

Comments

BarisW’s picture

Version: 6.20 » 7.x-dev

Same here, even in D7.

neRok’s picture

Project: Drupal core » Message_notify and Mailcomment integration
Version: 7.x-dev »
Component: comment.module » Code
Category: support » bug

Im just going over some old core issues and closing what I can.

I will move this to Mailcomment. Perhaps it should be trancating the subject before passing it to comment?

robertgarrigos’s picture

Having same problem with Mailcomment 7.x-2.2 and Mailhandler 7.x-2.5

robertgarrigos’s picture

Fixed with latest Mailcomment update 7.x-2.4