6.0.0-beta1
7/26/25

[#504] folders.php hangs if there is only one folder
Summary folders.php hangs if there is only one folder
Queue IMP
Queue Version 3.2.5
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at) , slusarz (at) horde (dot) org
Requester mircea.baciu (at) simmons (dot) edu
Created 08/23/2004 (7642 days ago)
Due
Updated 12/12/2004 (7531 days ago)
Assigned 11/15/2004 (7558 days ago)
Resolved 12/12/2004 (7531 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/12/2004 06:45:19 AM Michael Slusarz Comment #6
State ⇒ Resolved
Reply to this comment
Fixed in 3.2.7.
11/15/2004 04:31:27 PM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
11/15/2004 04:20:50 PM mircea (dot) baciu (at) simmons (dot) edu Comment #5
New Attachment: folders.php.patch Download
Reply to this comment
It still appears in IMP 3.2.6.



I have attached the patch I applied to folders.php in order to fix 
this. This patch works for me.
11/15/2004 03:44:20 PM Jan Schneider Comment #4
State ⇒ Feedback
Reply to this comment
Is this still happening with IMP 3.2.6?
08/24/2004 02:21:23 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
08/24/2004 01:57:01 PM mircea (dot) baciu (at) simmons (dot) edu Comment #3 Reply to this comment
The IMAP server is a the commercial server supplied by sendmail.com. 
It's signature when telneting to it is:
Sendmail Server IMAP4rev1 (2.1.0/smserver-2-1-build-901)

The relevant part from imp/config/servers.php is
$servers['imap'] = array(
     'name' => 'Organization E-mail',
     'server' => 'imap.domain.tld',
     'protocol' => 'imap/notls/novalidate-cert',
     'port' => 143,
     'folders' => '',
     'namespace' => '',
     'maildomain' => 'domain.tld',
     'smtphost' => 'smtp.domain.tld',
     'realm' => 'domain.tld',
     'preferred' => ''
);
08/23/2004 09:04:02 PM Jan Schneider State ⇒ Feedback
 
08/23/2004 09:03:40 PM Jan Schneider Comment #2
State ⇒ Assigned
Reply to this comment
You need to provide more information, at least your mail server type 
and configuration.
08/23/2004 07:30:47 PM mircea (dot) baciu (at) simmons (dot) edu Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ folders.php hangs if there is only one folder
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
If the user has only one folder (the inbox) and folders.php is called, 
the browser will time out and display an error message.



I tracked it down a little bit and it seems that next() and 
nextOnLevel() in lib/Tree.php functions return the same mailbox over 
and over, creating an infinite loop.



Thanks,

Mircea

Saved Queries