[Dovecot] tests with metadata module

Mihai Badici mihai at badici.ro
Tue Feb 25 10:33:44 UTC 2014


On Monday 30 December 2013 16:48:58 A.L.E.C wrote:
> On 12/30/2013 03:25 PM, Mihai Badici wrote:
> > I made some investigation and I found Roundcube perform a
> > GETMETADATA "*" (/private/vendor/kolab/folder-type)
> > to list all special folders.
> 
> This is indeed not specified in RFC5464, but it was in ANNOTATEMORE
> extension draft. This is very handy and it is supported by Cyrus.
> 
> Timo fixed this in http://hg.dovecot.org/dovecot-2.2/rev/0c3071ebe44b
> one day before 2.2.10 release. Didn't it make to the release?


This issue strike again I think.
I upgraded to dovecot 2.2.12 ( from 2.2.10) and when trying to access calendar 
I have this error in roundcube:


Invalid argument supplied for foreach() in 
/usr/share/roundcubemail-1.0/plugins/libkolab/lib/kolab_storage.php on line 
1040

When I look at the code, I find the argument came from this call:
$folders = self::$imap->get_metadata('*',
array(kolab_storage::CTYPE_KEY_PRIVATE));

which  means the getmetadata with wildcard was not working again ....



-- 
Mihai Bădici
http://mihai.badici.ro


More information about the dovecot mailing list