This issue was first reported here http://drupal.org/node/927654#comment-3610084 and the problems seems to be that the authenticate() and command() classes will not be properly loaded during a batch import. The issue appears similar in type to http://drupal.org/node/887846 where a __sleep and __wakeup magic method were needed in order to properly save and reload classes on the object.

Comments

Ian Ward’s picture

Status: Active » Fixed

This was actually the mailbox object not made available during batch processing, lost between sessions. Turns out the mailbox object is not really needed, but rather specific variables so I fixed to no longer pass in the whole mailbox object in MailhandlerParser, which then was passed to MailhandlerNodeProcessor::setTargetElement, and later ::authenticate and ::commands. Commit is http://drupal.org/cvs?commit=479678 which also reorganizes fetcher to fetch and parser to parse, and a small fix to make file attachments not break batch import.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.