[Tickets #10802] Re: dimp: folder view crashes

bugs at horde.org bugs at horde.org
Thu Dec 15 14:07:28 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/10802
------------------------------------------------------------------------------
  Ticket             | 10802
  Updated By         | rsalmon at mbpgroup.com
  Summary            | dimp: folder view crashes
  Queue              | IMP
  Version            | 5.0.15
  Type               | Bug
  State              | Resolved
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
+New Attachment     | hordelog_sent.txt
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-12-15 14:07) wrote:

I see this issue using either traditional or dynamic view.

attached the trace.

The name changes to the wrong value over here :
imp/lib/Mailbox.php:protected function _getDisplay
...

horde::debug($this);
horde::debug($sub);
         foreach ($sub as $key => $val) {
             if (strlen($key) &&
                 (($key != 'INBOX') || ($this->_mbox == $out)) &&
                 strpos($this->_mbox, $key) === 0) {
                 $len = strlen($key);
                 if ((strlen($this->_mbox) == $len) ||  
($this->_mbox[$len] == (is_null($ns_info) ? '' :  
$ns_info['delimiter']))) {
                     horde::debug($out);
                     $out = substr_replace($out,  
Horde_String::convertCharset($val, 'UTF-8', 'UTF7-IMAP'), 0, $len);
                     horde::debug($out);
                     break;
                 }
             }
         }




rsalmon at mbpgroup.com (2011-12-15 14:07) uploaded: hordelog_sent.txt

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=hordelog_sent.txt&ticket=10802&fn=%2Fhordelog_sent.txt





More information about the bugs mailing list