Summary | dimp: folder view crashes |
Queue | IMP |
Queue Version | 5.0.15 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 11/25/2011 (4972 days ago) |
Due | |
Updated | 12/15/2011 (4952 days ago) |
Assigned | 11/30/2011 (4967 days ago) |
Resolved | 12/06/2011 (4961 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
need to compare the special mailboxes, which contain the ns info, to
the original mailbox name. Fixed.
For some reason the commit message did not appear here:
http://git.horde.org/horde-git/-/commit/d7c32d1d9bf2b4d0df0b983aa81f42859f0f9f52
--$out = substr_replace($out, Horde_String::convertCharset($val,
'UTF-8', 'UTF7-IMAP'), 0, $len);
++$out = substr_replace($this->_mbox,
Horde_String::convertCharset($val, 'UTF-8', 'UTF7-IMAP'), 0, $len);
New Attachment: hordelog_sent.txt
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;
}
}
}
$_prefs['subscribe']['value'] = 0;
$_prefs['subscribe']['locked'] = true;
New Attachment: screnshot.jpg
fixed things.
and only for folders under .Sent, see screenshot. I have the following
folders :
.Sent
.Sent.test
.Sent.2010
I still don't see any errors/warnings.
State ⇒ Resolved
fixed things.
Assigned to Michael Slusarz
Priority ⇒ 2. Medium
[mms] Don't list parent mailboxes after child mailboxes (
Bug #10802).3 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/90b42223e0735a4823c81b2b4cfd24a100915aea
New Attachment: screenshot.png
Sent (special mailbox)
- Horde (special mailbox)
- Test (regular mailbox)
I correctly see Sent and Horde in the top part, and a Sent container
and Sent.Test on the bottom.
IMP seems to be getting the right info :
S: * LIST (\HasNoChildren) "." "INBOX.Sent.test"
But, I'm still getting the javascript error in DIMP, and in IMP the
folder tree doesn't look right (see attached screenshot)
Sent (special mailbox)
- Horde (special mailbox)
- Test (regular mailbox)
I correctly see Sent and Horde in the top part, and a Sent container
and Sent.Test on the bottom.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ dimp: folder view crashes
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
doActionComplete
TypeError: $(this.getSubMboxId(this.getMboxId(ob.pa))) is null
? $(this.getSubMboxId(this.getMboxId(ob.pa))).down() dimpbase.js
(ligne 2948)
prototype.js:1825 element = document.getElementById(element); returns null
I get the same error using git (up to date)
I use courier-imap 4.9.3
This happens when a user has folders under Sent: eg :
.Sent
.Sent.2010
.Sent.2011