Summary | Cyrus 2.2 not working with IMP and numerical folders |
Queue | IMP |
Queue Version | 5.0.16 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | js (at) cvut (dot) cz |
Created | 12/16/2011 (4927 days ago) |
Due | |
Updated | 12/20/2011 (4923 days ago) |
Assigned | |
Resolved | 12/20/2011 (4923 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Bug #10869: This is a mailbox object, so need strval().1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/fb80e50141f3ef82d8a0a3b333762ffe35fd3469
Assigned to Michael Slusarz
State ⇒ Resolved
Patch ⇒ No
documentation does listMailboxes() guarantee that key names are the
mailbox names.
Instead, we need to get the mailbox name from the mailbox key returned
from listMailboxes(). We were not doing that in two places in
IMP_Imap_Tree, which has been fixed.
[mms] Fix display of numerically-named mailboxes on IMAP servers
without the LIST-EXTENDED IMAP capability (
Bug #10869).3 files changed, 11 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/c403266f3f11d728e4768c8a2754c7a14a6cf2c0
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Cyrus 2.2 not working with IMP and numerical folders
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
LIST-EXTENDET accounts with numerical folders hooks in infinite loop
when sorting and working with tree. When create or have numeric named
folder in root. Wrong things happend after array_merge and renumbering
of arrays. In some point this cause infinite loop, locked session,
process of Apache and 100% and never ending. Working patch is:
--- /usr/share/php/Horde/Imap/Client/Socket.php 2011-12-16
15:15:48.335016069 +0100
+++ /usr/share/php/Horde/Imap/Client/Socket.php.orig 2011-12-13
16:59:42.309864256 +0100
@@ -1109,7 +1109,7 @@
if (is_array($pattern)) {
$return_array = array();
foreach ($pattern as $val) {
- $return_array = $return_array +
$this->_getMailboxList($val, $mode, $options, $subscribed);
+ $return_array = array_merge($return_array,
$this->_getMailboxList($val, $mode, $options, $subscribed));
}
return $return_array;
}