[Tickets #4857] In certain conditions in folders.php the folders aren't showing

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Jan 9 06:25:27 PST 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=4857
-----------------------------------------------------------------------
 Ticket             | 4857
 Created By         | scalero at datadec.es
 Summary            | In certain conditions in folders.php the folders aren't showing
 Queue              | IMP
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


scalero at datadec.es (2007-01-09 06:25) wrote:

Something very strange is happening me when I create a structure of folders
like the following:

	INBOX
	  test
	    test.aaa
	    test.bbb
	  test second
	    test second.ccc  
	    test second.ddd

In I logout and login again and go to the folders.php I see only:
	INBOX
	  test
	  test second
	    test second.ccc  
	    test second.ddd

The folders 'test.aaa' and 'test.bbb' have disappeared. But in the
select(id=mailbox) of the IMP menu they continue appearing!?


I use the following versions:
Horde		3.1.3
IMP		H3 (4.1.3)
PHP		4.4.4
c-client	imap-2004g


I have tried to update c-client to the version 'imap-2006d' but I have had
this problem: http://bugs.php.net/bug.php?id=39401


In case it can help you this is the exit(var_dump) of the function
'imap_getmailboxes($this->_getStream(), "{localhost:1143/imap/notls}",
"%");':
>>>>>>
array(4) {
  [0]=>
  object(stdClass)(3) {
    ["name"]=>
    string(32) "{localhost:1143/imap/notls}INBOX"
    ["attributes"]=>
    int(1)
    ["delimiter"]=>
    string(1) "."
  }
  [1]=>
  object(stdClass)(3) {
    ["name"]=>
    string(31) "{localhost:1143/imap/notls}test"
    ["attributes"]=>
    int(64)
    ["delimiter"]=>
    string(1) "."
  }
  [2]=>
  object(stdClass)(3) {
    ["name"]=>
    string(38) "{localhost:1143/imap/notls}test second"
    ["attributes"]=>
    int(32)
    ["delimiter"]=>
    string(1) "."
  }
  [3]=>
  object(stdClass)(3) {
    ["name"]=>
    string(31) "{localhost:1143/imap/notls}test"
    ["attributes"]=>
    int(34)
    ["delimiter"]=>
    string(1) "."
  }
}
<<<<<<

I see the folder "test" appears two times with different attributes.


Any suggestion?


Greetings. 


Sebastián Calero.




More information about the bugs mailing list