<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Kolab storage: Multiple &quot;.default&quot; folder types lead to crash</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:31 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11285</link> 
  <atom:link rel="self" type="application/rss+xml" title="Kolab storage: Multiple &quot;.default&quot; folder types lead to crash" href="https://bugs.horde.org/ticket/11285/rss" /> 
  <description>Kolab storage: Multiple &quot;.default&quot; folder types lead to crash</description> 
 
   
   
  <item> 
   <title>Hi,

Kolab uses IMAP annotations to specify the content of</title> 
   <description>Hi,

Kolab uses IMAP annotations to specify the content of a folder. It&#039;s stored in the &quot;folder-type&quot; annotation. This folder type can be &quot;event, task&quot; and others. 

There can also be a suffix of &quot;.default&quot;, which indicates this should be the default folder for this content type.

Right now Horde dies with a &quot;fatal error&quot; if there are two or more folders with the &quot;.default&quot; annotation. If this error is on a folder shared to all users, Horde will no longer work for all users.

The exception looks like this:
2012-07-19T16:59:39+02:00 ERR: HORDE [mnemo] Both folders user/groupware/Kalender and user/groupware/Kalender/IGC-Kalender are marked as default folder of type event! [pid 24440 on line 366 of &quot;/datastore/DEVEL/horde/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/List/Cache.php&quot;]
2012-07-19T16:59:39+02:00 EMERG: HORDE [horde] exception &#039;Horde_Kolab_Storage_Exception&#039; with message &#039;Both folders user/groupware/Kalender and user/groupware/Kalender/IGC-Kalender are marked as default folder of type event!&#039; in /datastore/DEVEL/horde/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/List/Cache.php:366

The same check is in Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/List/Cache.php and Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/List/Base.php.

-&gt; It would be much better to present one of those fancy popup error messages. The user can continue to work and the admin still gets notified to fix this.

Thomas
</description> 
   <pubDate>Thu, 19 Jul 2012 15:29:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t71933</link> 
  </item> 
   
  <item> 
   <title>Trying to establish a fix for this as well.</title> 
   <description>Trying to establish a fix for this as well.</description> 
   <pubDate>Tue, 21 Aug 2012 08:20:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72302</link> 
  </item> 
   
  <item> 
   <title>Switching that to logging should not be a problem. Providing</title> 
   <description>Switching that to logging should not be a problem. Providing a notification should be possible within a Kolab specific &quot;default folder hook&quot;. The latter is missing anyhow - meaning that the information of default folders is currently not respected by the groupware applications.</description> 
   <pubDate>Tue, 21 Aug 2012 09:16:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72305</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 97738dc9b60</title> 
   <description>Changes have been made in Git (develop):

commit 97738dc9b600f63e28c8224ae2c0205581ff39de
Author: Gunnar Wrobel &lt;p@rdus.de&gt;
Date:   Tue Aug 28 19:49:41 2012 +0200

    Add two different strategies for dealing with double default folders (bail and log, Bug #11285)

 .../Kolab/Storage/List/Query/List/Defaults.php     |  119 ++++++++++++++++++++
 .../Storage/List/Query/List/Defaults/Bail.php      |   51 +++++++++
 .../Kolab/Storage/List/Query/List/Defaults/Log.php |   68 +++++++++++
 .../Storage/Unit/List/Query/List/DefaultsTest.php  |  105 +++++++++++++++++
 4 files changed, 343 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/97738dc9b600f63e28c8224ae2c0205581ff39de</description> 
   <pubDate>Tue, 28 Aug 2012 20:25:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72416</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 97738dc9b600</title> 
   <description>Changes have been made in Git (master):

commit 97738dc9b600f63e28c8224ae2c0205581ff39de
Author: Gunnar Wrobel &lt;p@rdus.de&gt;
Date:   Tue Aug 28 19:49:41 2012 +0200

    Add two different strategies for dealing with double default folders (bail and log, Bug #11285)

 .../Kolab/Storage/List/Query/List/Defaults.php     |  119 ++++++++++++++++++++
 .../Storage/List/Query/List/Defaults/Bail.php      |   51 +++++++++
 .../Kolab/Storage/List/Query/List/Defaults/Log.php |   68 +++++++++++
 .../Storage/Unit/List/Query/List/DefaultsTest.php  |  105 +++++++++++++++++
 4 files changed, 343 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/97738dc9b600f63e28c8224ae2c0205581ff39de</description> 
   <pubDate>Wed, 29 Aug 2012 12:50:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72663</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 34e0702bf868</title> 
   <description>Changes have been made in Git (master):

commit 34e0702bf8683892900e71e28187586739c8740f
Author: Gunnar Wrobel &lt;p@rdus.de&gt;
Date:   Sat Sep 1 23:49:51 2012 +0200

    Notify in case of a duplicate default (Bug #11285).

 bundles/kolab_webmail/mnemo/config/hooks.php |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/34e0702bf8683892900e71e28187586739c8740f</description> 
   <pubDate>Sat, 01 Sep 2012 23:18:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72724</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit f048df0e3dd9</title> 
   <description>Changes have been made in Git (master):

commit f048df0e3dd927b2965f42bf575421c0deab81dd
Author: Gunnar Wrobel &lt;p@rdus.de&gt;
Date:   Sun Sep 2 01:09:04 2012 +0200

    Add all required hooks to handle Kolab default folders (Bug #11285).

 bundles/kolab_webmail/kronolith/config/hooks.php   |   59 ++++++++++++++++++++
 .../kronolith/config/prefs.d/20-kolab.php          |    2 +
 bundles/kolab_webmail/mnemo/config/hooks.php       |   10 ++-
 .../mnemo/config/prefs.d/20-kolab.php              |    2 +
 bundles/kolab_webmail/nag/config/hooks.php         |   59 ++++++++++++++++++++
 .../kolab_webmail/nag/config/prefs.d/20-kolab.php  |    2 +
 bundles/kolab_webmail/turba/config/hooks.php       |   59 ++++++++++++++++++++
 .../turba/config/prefs.d/20-kolab.php              |    2 +
 8 files changed, 191 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/f048df0e3dd927b2965f42bf575421c0deab81dd</description> 
   <pubDate>Sat, 01 Sep 2012 23:18:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72725</link> 
  </item> 
   
  <item> 
   <title>Should be done. Ready for retesting.</title> 
   <description>Should be done. Ready for retesting.</description> 
   <pubDate>Sat, 01 Sep 2012 23:19:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t72726</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 34e0702bf86</title> 
   <description>Changes have been made in Git (develop):

commit 34e0702bf8683892900e71e28187586739c8740f
Author: Gunnar Wrobel &lt;p@rdus.de&gt;
Date:   Sat Sep 1 23:49:51 2012 +0200

    Notify in case of a duplicate default (Bug #11285).

 bundles/kolab_webmail/mnemo/config/hooks.php |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/34e0702bf8683892900e71e28187586739c8740f</description> 
   <pubDate>Mon, 15 Oct 2012 20:36:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t73480</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit f048df0e3dd</title> 
   <description>Changes have been made in Git (develop):

commit f048df0e3dd927b2965f42bf575421c0deab81dd
Author: Gunnar Wrobel &lt;p@rdus.de&gt;
Date:   Sun Sep 2 01:09:04 2012 +0200

    Add all required hooks to handle Kolab default folders (Bug #11285).

 bundles/kolab_webmail/kronolith/config/hooks.php   |   59 ++++++++++++++++++++
 .../kronolith/config/prefs.d/20-kolab.php          |    2 +
 bundles/kolab_webmail/mnemo/config/hooks.php       |   10 ++-
 .../mnemo/config/prefs.d/20-kolab.php              |    2 +
 bundles/kolab_webmail/nag/config/hooks.php         |   59 ++++++++++++++++++++
 .../kolab_webmail/nag/config/prefs.d/20-kolab.php  |    2 +
 bundles/kolab_webmail/turba/config/hooks.php       |   59 ++++++++++++++++++++
 .../turba/config/prefs.d/20-kolab.php              |    2 +
 8 files changed, 191 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/f048df0e3dd927b2965f42bf575421c0deab81dd</description> 
   <pubDate>Mon, 15 Oct 2012 20:36:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11285#t73481</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
