[Tickets #6957] Re: Problem with appledouble Viewer

bugs at horde.org bugs at horde.org
Thu Jun 19 15:34:51 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6957
------------------------------------------------------------------------------
  Ticket             | 6957
  Updated By         | scalero at datadec.es
  Summary            | Problem with appledouble Viewer
  Queue              | IMP
  Version            | 4.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


scalero at datadec.es (2008-06-19 11:34) wrote:

A posible solution is this change in  
'imp/lib/MIME/Viewer/appledouble.php', function 'render()':

         /* Display the content of the file. */
         $part =  
$contents->getDecodedMIMEPart($this->mime_part->getRelativeMIMEId(2));
         if ($part) {
             $mime_message = &MIME_Message::convertMIMEPart($part);
             $mc = new MIME_Contents($mime_message, array('download'  
=> 'download_attach', 'view' => 'view_attach'), array(&$contents));
+           if (isset($contents->_sessionCacheID) &&  
!empty($contents->_sessionCacheID)) {
+               $mc->_sessionCacheID = $contents->_sessionCacheID;
+           }
             $mc->buildMessage();
             $text .= '<table cellspacing="0">' .  
$mc->getMessage(true) . '</table>';
         }


This cause the 'multipart/appledouble' parts are not cached and the  
attachments are downloaded directly from the IMAP server. It helps?

Greetings.








More information about the bugs mailing list