<?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>Recurring events missing RRULE field</title> 
  <pubDate>Fri, 10 Apr 2026 14:48:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5236</link> 
  <atom:link rel="self" type="application/rss+xml" title="Recurring events missing RRULE field" href="https://bugs.horde.org/ticket/5236/rss" /> 
  <description>Recurring events missing RRULE field</description> 
 
   
   
  <item> 
   <title>Syncing a calendar with recurring entries fails. Each entry </title> 
   <description>Syncing a calendar with recurring entries fails. Each entry only has its initial date - no recurrences.



This is an example of an entry that recurs every day.



contents of /tmp/horde.log for SyncML sync;



output received from horde backend (text/x-vcalendar):

BEGIN:VCALENDAR

VERSION:1.0

X-WR-CALNAME:Andy Wright&#039;s Calendar

PRODID:-//The Horde Project//Horde_iCalendar Library//EN

METHOD:PUBLISH

BEGIN:VEVENT

DTSTART:20070403T050000Z

DTEND:20070403T060000Z

DTSTAMP:20070402T154830Z

UID:20070402163907.5qf60gruy44c@192.168.1.1

DCREATED:20070402T153907Z

LAST-MODIFIED:20070402T153907Z

SUMMARY:Test title

TRANSP:OPAQUE

ORGANIZER;CN=Andy Wright:mailto:andywright

LOCATION:Test location

CLASS:PUBLIC

STATUS:CONFIRMED

END:VEVENT

END:VCALENDAR



and the same calendar entry exported as iCal;



BEGIN:VCALENDAR

VERSION:2.0

X-WR-CALNAME:Andy Wright&#039;s Calendar

PRODID:-//The Horde Project//Horde_iCalendar Library//EN

METHOD:PUBLISH

BEGIN:VEVENT

DTSTART:20070403T050000Z

DTEND:20070403T060000Z

DTSTAMP:20070402T160248Z

UID:20070402163907.5qf60gruy44c@192.168.1.1

CREATED:20070402T153907Z

LAST-MODIFIED:20070402T153907Z

SUMMARY:Test title

TRANSP:OPAQUE

ORGANIZER;CN=Andy Wright:mailto:andywright

LOCATION:Test location

CLASS:PUBLIC

STATUS:CONFIRMED

RRULE:FREQ=DAILY;INTERVAL=1

END:VEVENT

END:VCALENDAR





RRULE:FREQ=DAILY;INTERVAL=1 only appears on the iCalendar export.</description> 
   <pubDate>Tue, 10 Apr 2007 22:49:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5236#t31395</link> 
  </item> 
   
  <item> 
   <title>I did some more research, it seems that the kronolith_event_</title> 
   <description>I did some more research, it seems that the kronolith_event_sql object used in _kronolith_export in kronolith/lib/api.php is broken. I&#039;ve modified that file to write the print_r($event, true) value to a file.



When I create an event with or without an enddate, and synchronize it to my pda, and examine the contents of $event, it contains no recurrence information.



When I create an event with an recurcount, it creates an event with &#039;recurtype&#039; set to the number of recurrences (12 in this case):

[recurCount] =&gt;

[recurType] =&gt; 12

[recurInterval] =&gt; 1



When doing something similar in kronolith/lib/Driver/sql.php&#039;s getByUID function, I noticed that the data being pulled from the db had the same discrepancies. Upon closer inspection, there was a , missing from the query after event_recurcount, on line 395. Because event_recurtype is the next in the list, mysql assumed the query meant &#039;event_recurcount AS event_recurtype&#039;, messing up the data.



Fixing this fixed the problem.



I&#039;ve attached a patch, and I&#039;ll be submitting another ticket and patch for a seperate problem with recurrence in the SyncML module.</description> 
   <pubDate>Thu, 12 Apr 2007 11:12:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5236#t31476</link> 
  </item> 
   
  <item> 
   <title>&gt; I did some more research, it seems that the kronolith_even</title> 
   <description>&gt; I did some more research, it seems that the kronolith_event_sql 

&gt; object used in _kronolith_export in kronolith/lib/api.php is broken. 

&gt; I&#039;ve modified that file to write the print_r($event, true) value to a 

&gt; file.

&gt;

&gt; When I create an event with or without an enddate, and synchronize it 

&gt; to my pda, and examine the contents of $event, it contains no 

&gt; recurrence information.

&gt;

&gt; When I create an event with an recurcount, it creates an event with 

&gt; &#039;recurtype&#039; set to the number of recurrences (12 in this case):

&gt; [recurCount] =&gt;

&gt; [recurType] =&gt; 12

&gt; [recurInterval] =&gt; 1

&gt;

&gt; When doing something similar in kronolith/lib/Driver/sql.php&#039;s 

&gt; getByUID function, I noticed that the data being pulled from the db 

&gt; had the same discrepancies. Upon closer inspection, there was a , 

&gt; missing from the query after event_recurcount, on line 395. Because 

&gt; event_recurtype is the next in the list, mysql assumed the query 

&gt; meant &#039;event_recurcount AS event_recurtype&#039;, messing up the data.

&gt;

&gt; Fixing this fixed the problem.

&gt;

&gt; I&#039;ve attached a patch, and I&#039;ll be submitting another ticket and 

&gt; patch for a seperate problem with recurrence in the SyncML module.



I have added the missing &quot;,&quot; and this has sorted it... thanks :)

</description> 
   <pubDate>Thu, 12 Apr 2007 11:24:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5236#t31478</link> 
  </item> 
   
  <item> 
   <title>The fix is committed now - thanks!</title> 
   <description>The fix is committed now - thanks!</description> 
   <pubDate>Thu, 12 Apr 2007 14:57:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5236#t31501</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
