Closed (fixed)
Project:
Mailhandler
Version:
6.x-2.4
Component:
Mailhandler
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2012 at 20:23 UTC
Updated:
14 Feb 2012 at 11:30 UTC
When mailhandler 6.x-2.4 (w/ feeds 6.x-1.0-beta11) grabs my mailbox and there are multiple messages, every imported node but the final message - final being newest - are missing data. Specifics:
Mappings:
subject -> Title (missing)
User ID -> User ID (present)
attachments -> a CCK filefield (missing)
Body (HTML) -> Body (present)
fromaddress -> a CCK text field (missing)
message_id -> a CCK text field (missing)
Comments
Comment #1
danepowell commentedHrm, that's not good. I'll have to do some investigation.
Comment #2
obrienmd commentedI've only tested on two sites, both with very similar configs. Have now tested on newest stable and -dev of both mailhandler and feeds. If I have time tomorrow I'll try to dump some data in flight and see what I can find... But no guarantees :)
Comment #3
pvanerk commentedHi Dane,
I have got exactly the same the same problem (also with mailhandler 6.x-2.4 and feeds 6.x-1.0-beta11). I have tested it on multiple sites and it happens on every one of them (both IMAP and POP3 accounts).
When I installl mailhandler 6.x-2.2 and feeds 6.x-1.0-beta11 the mails are imported correctly (I didn't test it using mailhandler 6.x-2.3). When you need some more info or want me to test a new version, please let me know.
With regards,
Paul
Comment #4
danepowell commentedJust to confirm, I can reproduce this now- messages after the first have body and user ID but no other fields. Still investigating cause.
Comment #5
danepowell commentedThis has been fixed in 6.x-2.x (not present in 7.x-2.x):
http://drupalcode.org/project/mailhandler.git/commit/60427f8
I also added a test case to make sure multi-message imports don't break like this in the future:
http://drupalcode.org/project/mailhandler.git/commit/1e83d93
http://drupalcode.org/project/mailhandler.git/commit/df698a8
Comment #6
obrienmd commentedDane, this works great. Thanks!
Comment #7
pvanerk commentedAlso works for me. Thanks!