Problem with mailing list replies showing with no content in forum
bstanfield - May 11, 2009 - 21:21
| Project: | Listhandler |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | bstanfield |
| Status: | closed |
Jump to:
Description
I hope this is something easy to fix and something I've just overlooked. Here's what currently works:
- If you send an email message to the list, it creates a forum topic on the drupal site.
- If you create a forum topic on the site, it emails that to the list.
- If you reply to a thread on the website, it sends a reply to the mailing list.
Here's what doesn't work:
- If you send a reply on the mailing list, it creates a comment on the website with just "2" in the content field.
The threading seems to work correctly, and everything else seems ok, but the entire message is gone and we just get "2."
Any ideas?

#1
My apologies. This turned out to be a mailhandler issue, and not a listhandler issue.
It looks like it's been identified by some others, and the fix involves editing mailhandler.retrieve.inc
Specifically changing this line (currently around line 396 in the file):
if (!$node->comment) $node->comment = $node->body;to read
// When submitting comments, 'comment' means actualy the comment's body, and not the comments status for a node.// We need to reset the comment's bosy, so it doesn't colide with a default 'comment' command.
$node->comment = $node->body;
Hope this helps someone else!