[Tickets #11626] Re: ActiveSync : auto detection of special folders (trash, sent, etc...) and hierarchy fails
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Jan 11 00:32:03 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11626
------------------------------------------------------------------------------
Ticket | 11626
Updated By | busywater at gmail.com
Summary | ActiveSync : auto detection of special folders (trash,
| sent, etc...) and hierarchy fails
Queue | Synchronization
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Rubinsky
------------------------------------------------------------------------------
busywater at gmail.com (2013-01-11 00:32) wrote:
1. Yes, I am sure that the system has subscribed the special folder
properly. When connecting the IOS device through IMAP, it shows the
special folders.
2. The test from PHP shell
$f = new Horde_Core_ActiveSync_Imap_Factory();
var_dump($f->getMailboxes());
======================
array (size=5)
'INBOX' =>
array (size=5)
'a' => int 40
'd' => string '.' (length=1)
'label' => string 'Inbox' (length=5)
'level' => int 0
'ob' =>
object(Horde_Imap_Client_Mailbox)[231]
protected '_utf7imap' => null
protected '_utf8' => string 'INBOX' (length=5)
'Draft' =>
array (size=5)
'a' => int 8
'd' => string '.' (length=1)
'label' => string 'Drafts' (length=6)
'level' => int 0
'ob' =>
object(Horde_Imap_Client_Mailbox)[232]
protected '_utf7imap' => null
protected '_utf8' => string 'Draft' (length=5)
'Sent' =>
array (size=5)
'a' => int 8
'd' => string '.' (length=1)
'label' => string 'Sent' (length=4)
'level' => int 0
'ob' =>
object(Horde_Imap_Client_Mailbox)[233]
protected '_utf7imap' => null
protected '_utf8' => string 'Sent' (length=4)
'Spam' =>
array (size=5)
'a' => int 8
'd' => string '.' (length=1)
'label' => string 'Spam' (length=4)
'level' => int 0
'ob' =>
object(Horde_Imap_Client_Mailbox)[234]
protected '_utf7imap' => null
protected '_utf8' => string 'Spam' (length=4)
'Trash' =>
array (size=5)
'a' => int 8
'd' => string '.' (length=1)
'label' => string 'Trash' (length=5)
'level' => int 0
'ob' =>
object(Horde_Imap_Client_Mailbox)[235]
protected '_utf7imap' => null
protected '_utf8' => string 'Trash' (length=5)
=====================
3. The ActiveSyncTests result:
============================
root at mail:/usr/share/php/test/Horde_Core/Horde/Core# phpunit
ActiveSyncTests.php
PHPUnit 3.7.10 by Sebastian Bergmann.
Configuration read from /usr/share/php/test/Horde_Core/Horde/Core/phpunit.xml
E
Time: 0 seconds, Memory: 4.75Mb
There was 1 error:
1) Horde_Core_ActiveSyncTests::testGetFolders
Declaration of
Mock_Horde_Core_ActiveSync_Connector_495a72a1::calendar_import_vevent() should
be compatible with
Horde_Core_ActiveSync_Connector::calendar_import_vevent(Horde_Icalendar_vEvent
$vEvent)
/usr/share/php/Horde/Test/Case.php:37
/usr/share/php/test/Horde_Core/Horde/Core/ActiveSyncTests.php:68
FAILURES!
Tests: 1, Assertions: 0, Errors: 1.
========================
More information about the bugs
mailing list