<?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>webdav deleting events</title> 
  <pubDate>Fri, 10 Apr 2026 09:21:07 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6946</link> 
  <atom:link rel="self" type="application/rss+xml" title="webdav deleting events" href="https://bugs.horde.org/ticket/6946/rss" /> 
  <description>webdav deleting events</description> 
 
   
   
  <item> 
   <title>events that are being deleted by a webdav client do not get </title> 
   <description>events that are being deleted by a webdav client do not get deleted in the kronolith database, because the api function _kronolith_list() gets an empty event UID list.

The reason for this is, that the $endstamp is set to 9999/12/31 and in the further processing 1 day is added to this date which caused the year to be 10000.

The subsequent sql queries (mysql) with &#039;10000-01-01 00:00:00&#039; result into an error.



One possible fix for this problem is to set the &#039;day&#039; (or &#039;mday&#039;) to 30 in api.php:

$endstamp = new Horde_Date(array(&#039;year&#039; =&gt; 9999, &#039;month&#039; =&gt; 12, &#039;day&#039; =&gt; 30));



</description> 
   <pubDate>Wed, 18 Jun 2008 08:58:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6946#t46627</link> 
  </item> 
   
  <item> 
   <title>Another and maybe better/cleaner fix provides the attached p</title> 
   <description>Another and maybe better/cleaner fix provides the attached patch.

We can savley remove the &quot;else&quot; statement since the one day gets added anyway by listEventsConditional()</description> 
   <pubDate>Wed, 18 Jun 2008 12:52:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6946#t46638</link> 
  </item> 
   
  <item> 
   <title>The following commit seems to fix the problem



http://arti</title> 
   <description>The following commit seems to fix the problem



http://article.gmane.org/gmane.comp.horde.cvs/65849

</description> 
   <pubDate>Mon, 07 Jul 2008 19:59:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6946#t47373</link> 
  </item> 
   
  <item> 
   <title>Great.</title> 
   <description>Great.</description> 
   <pubDate>Mon, 07 Jul 2008 22:39:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6946#t47377</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
