Wrong forum node/comments when there is more than one mailing list

samuelet - October 21, 2008 - 13:17
Project:Listhandler
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I have two forums A and B, each one assigned to a different mailbox.
The Mailing list software (mailman) is configured to keep original headers.
When a user sent an email to both the lists, the email is correctly imported on both the forums, but any following reply gets duplicated in the forum B, whereas it's not created in the forum A.
The main difference that i can notice between a correctly "forum recognized" email and its not "recognized" reply is the recipient headers: the first contains both list address in TO field, whereas in the second they are in CC (but this is ok because it's the standard way an email client works when replying to a mailing list).
Any idea?

#1

samuelet - April 16, 2009 - 16:22
Title:Duplicate forum message when a mail is sent to two mailing lists» Wrong forum node/comments when there is more than one mailing list
Version:5.x-1.0» 5.x-1.x-dev
Status:active» needs review

After long time, i have to face this bug again.
It seems to me that listhandler does not always check properly the mailing list original source of the message with the conseguence that, sometimes, it is sent in the wrong forum (taxonomy).
This is an on-the-fly patch which:
1) checks that a mailing list threading message is coming also from the matching mailhander list.
2) checks also the matching mailhandler tid of the parent node when it's a comment parsed by subject.

AttachmentSize
listhandler_extra_checks.patch 1.33 KB
 
 

Drupal is a registered trademark of Dries Buytaert.