[Tickets #6031] Re: recurring events are not displayed

bugs at horde.org bugs at horde.org
Wed Dec 26 18:09:17 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=6031
-----------------------------------------------------------------------
 Ticket             | 6031
 Updated By         | m.gabriel at das-netzwerkteam.de
 Summary            | recurring events are not displayed
 Queue              | Kolab
 Type               | Bug
 State              | Unconfirmed
 Priority           | 3. High
 Owners             | 
+New Attachment     | kolab.php.patch
-----------------------------------------------------------------------


m.gabriel at das-netzwerkteam.de (2007-12-26 13:09) wrote:

to my understanding of the kolab backend recurrent events can go back far
into the past, thus in order to be able to view even those recurrent events
started a long time ago, we also have to start searching for events in the
year "0"...

on my system the issue is solved with this attached patch. but one should
waste a though on performance and memory limit (cache) as with every
calendar view all IMAP items of all visible kolab folders have to be
analyzed...

grimnir:/usr/local/share/_horde-versions_# diff -u
horde-webmail-1.1-rc1/kronolith/lib/Driver/kolab.php
horde-webmail-1.1-rc1-netzwerkteam/kronolith/lib/Driver/kolab.php
--- horde-webmail-1.1-rc1/kronolith/lib/Driver/kolab.php        2007-11-29
12:33:10.000000000 +0000
+++ horde-webmail-1.1-rc1-netzwerkteam/kronolith/lib/Driver/kolab.php  
2007-12-26 18:02:59.000000000 +0000
@@ -1096,9 +1096,8 @@
             return $result;
         }

-        if (is_null($startDate)) {
-            $startDate = &new Horde_Date(array('mday' => 1, 'month' => 1,
'year' => 0000));
-        }
+        $startDate = &new Horde_Date(array('mday' => 1, 'month' => 1,
'year' => 0000));
+
         if (is_null($endDate)) {
             $endDate = &new Horde_Date(array('mday' => 31, 'month' => 12,
'year' => 9999));
         }




More information about the bugs mailing list