[Tickets #6946] webdav deleting events

bugs at horde.org bugs at horde.org
Wed Jun 18 08:58:40 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6946
-----------------------------------------------------------------------
  Ticket             | 6946
  Created By         | adrieder at sbox.tugraz.at
  Summary            | webdav deleting events
  Queue              | Kronolith
  Version            | HEAD
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
-----------------------------------------------------------------------


adrieder at sbox.tugraz.at (2008-06-18 04:58) wrote:

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 '10000-01-01 00:00:00' result  
into an error.

One possible fix for this problem is to set the 'day' (or 'mday') to  
30 in api.php:
$endstamp = new Horde_Date(array('year' => 9999, 'month' => 12, 'day' => 30));







More information about the bugs mailing list