[Tickets #14937] listMailboxes missing status information

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Jul 12 20:11:46 UTC 2019


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

Ticket URL: https://bugs.horde.org/ticket/14937
------------------------------------------------------------------------------
  Ticket             | 14937
  Created By         | mariusz.goch at spacja.com
  Summary            | listMailboxes missing status information
  Queue              | Horde Framework Packages
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


mariusz.goch at spacja.com (2019-07-12 20:11) wrote:

When fetching all mailboxes with query containing wildcards no status  
information is being returned.
Problem exists when server has capability LIST-STATUS.
When status information is being prepared patterns are used but not  
actual mailbox names. So it works when I search 'INBOX' but not with  
'*'.

$mailboxes = $imapClient->listMailboxes('*',  
Horde_Imap_Client::MBOX_ALL, array(
			'attributes'	=> true,
			'special_use'	=> true,
			'status'		=> Horde_Imap_Client::STATUS_MESSAGES,
			'sort'			=> true
		));

Forcing to use returned names does the job.

I've attached working patch to Socket.php



mariusz.goch at spacja.com (2019-07-12 20:11) uploaded:  
socket_listmailboxes.patch

https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=socket_listmailboxes.patch&ticket=14937&fn=%2Fsocket_listmailboxes.patch





More information about the bugs mailing list