[Tickets #11285] Kolab storage: Multiple ".default" folder types lead to crash

bugs at horde.org bugs at horde.org
Thu Jul 19 15:29:20 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11285
------------------------------------------------------------------------------
  Ticket             | 11285
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Kolab storage: Multiple ".default" folder types lead
                     | to crash
  Queue              | Horde Framework Packages
  Version            | Git develop
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2012-07-19 15:29) wrote:

Hi,

Kolab uses IMAP annotations to specify the content of a folder. It's  
stored in the "folder-type" annotation. This folder type can be  
"event, task" and others.

There can also be a suffix of ".default", which indicates this should  
be the default folder for this content type.

Right now Horde dies with a "fatal error" if there are two or more  
folders with the ".default" 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  
"/datastore/DEVEL/horde/framework/Kolab_Storage/lib/Horde/Kolab/Storage/List/Query/List/Cache.php"]
2012-07-19T16:59:39+02:00 EMERG: HORDE [horde] exception  
'Horde_Kolab_Storage_Exception' with message 'Both folders  
user/groupware/Kalender and user/groupware/Kalender/IGC-Kalender are  
marked as default folder of type event!' 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.

-> 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






More information about the bugs mailing list