Summary | Subfolders not shown in IMP |
Queue | IMP |
Queue Version | 4.1.4-RC1 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | net (at) ac-nantes (dot) fr |
Created | 10/04/2007 (6483 days ago) |
Due | 10/04/2007 (6483 days ago) |
Updated | 09/06/2017 (2858 days ago) |
Assigned | |
Resolved | 10/04/2007 (6483 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 39ef8835f2201f36339e407c0d5ee29bd6379974
Author: bertrand Gugger <toggg@php.net>
Date: Sun Nov 6 06:59:02 2005 +0000
Option relative_enable default false for relative urls (
Request #5767)Refuse ] , [ and ' in path part of the url, should be urlencoded
git-svn-id:
https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@200063
c90b9560-bf6c-de11-be94-00142212c4b1
Text/Wiki/Parse/BBCode/Url.php | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
http://github.com/horde/horde/commit/39ef8835f2201f36339e407c0d5ee29bd6379974
commit 3ad3ddd90e4f3e9ebb073d8e1f3414144a9cef88
Author: Firman Wandayandi <firman@php.net>
Date: Tue Oct 25 05:15:30 2005 +0000
Request #5767: relative [url] syntax not supported (e.g.[url=/contact.php])
git-svn-id:
https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@199141
c90b9560-bf6c-de11-be94-00142212c4b1
Text/Wiki/Parse/BBCode/Url.php | 1 +
1 file changed, 1 insertion(+)
http://github.com/horde/horde/commit/3ad3ddd90e4f3e9ebb073d8e1f3414144a9cef88
In fact, the problem comes from the php-imap library, modified for
using cleartrust authentication with horde.
The function imap_getmailboxes does not give the "children" flag with
the modified library...
Sorry for the "bug" !
the check. Horde expects that $this->_childrensupport has a value in
any standard setup. Apparently it does not in your case. So you need
to check WHY this is the case. You certainly can't revert the logic
here by simply removing the "!". This would fail for all other Horde
setups where the expectation actually holds true.
extension, and then it doesn't, then it is your IMAP server that is
broken.
You set the State of this ticket "Not A Bug", but I insist.... it is a
bug which was blocking our deployement of horde.
Thank you to verify the validity of our code correction.
We have an older version of horde (installed in january 2007) which
doesn't show the problem , despite she use the same imap server...
It is possible that you cannot reproduce the problem : for example,
this problem doesn't occur at another site (Rectorat de Toulouse) with
the same version and the same version of IMAP server.
I don't know why... But if I delete the "!" in the test "if
(!empty($this->_childrensupport)" all works fine.
Thank you to verify the validity of our code correction !
Priority ⇒ 1. Low
State ⇒ Not A Bug
and then it doesn't, then it is your IMAP server that is broken.
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Subfolders not shown in IMP
Due ⇒ 10/04/2007
Queue ⇒ IMP
State ⇒ Unconfirmed
The following modification in $HORDE/lib/Horde/IMAP/Tree.php permit
the display of subfolders.
Thank you to apply this patch if it is correct...
For information, this bug was blocking the deployment of horde in our system.
Guy Paressant
Rectorat de Nantes - France
diff -u /usr/share/horde3/lib/Horde/IMAP/Tree.php.001
/usr/share/horde3/lib/Horde/IMAP/Tree.php
--- /usr/share/horde3/lib/Horde/IMAP/Tree.php.001 2007-05-22
11:39:35.000000000 +0200
+++ /usr/share/horde3/lib/Horde/IMAP/Tree.php 2007-10-04
08:41:37.000000000 +0200
@@ -1092,7 +1092,7 @@
/* Not all IMAP servers support the HASCHILDREN flag
(like UW!) so
* we need to skip this check if the IMAP server doesn't set
* either HASCHILDREN or HASNOCHILDREN. */
- if (!empty($this->_childrensupport) ||
+ if (empty($this->_childrensupport) ||
(is_null($this->_childrensupport) &&
($elt['a'] & LATT_HASCHILDREN) ||
($elt['a'] & LATT_HASNOCHILDREN))) {