[Tickets #12244] Re: edit event in CalDAV calendar does not work

noreply at bugs.horde.org noreply at bugs.horde.org
Fri May 17 14:21:49 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12244
------------------------------------------------------------------------------
  Ticket             | 12244
  Updated By         | nimm at technikum-wien.at
  Summary            | edit event in CalDAV calendar does not work
  Queue              | Kronolith
  Version            | 4.1.0beta1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


nimm at technikum-wien.at (2013-05-17 14:21) wrote:


>
> I use this workaround:
>
>                 try {
> 		    if(!empty($modified)) {
> 			$new_data_time = $content->getAttribute('LAST-MODIFIED');
> 			if(!empty($new_data_time)) {
> 			    //Horde::logMessage('SKA: last-modified: '.$new_data_time. "  
> ".date("Y-m-d H:i:s", $new_data_time), 'NOTICE');
> 			    //Horde::logMessage('SKA: modified: '.$modified, 'NOTICE');
> 			    if(is_object($new_data_time) && $new_data_time->before($modified)
> 			     || !is_object($new_data_time) && date("Y-m-d H:i:s",  
> $new_data_time) < $modified) {
> 				/* LAST-MODIFIED timestamp of existing entry is newer:
> 				 * don't replace it. */
> 				//Horde::logMessage('SKA: modified entry is newer skip update',  
> 'NOTICE');
> 				continue;
> 			    }
> 			}
> 		    }
>                 } catch (Horde_Icalendar_Exception $e) {
>                 }
>
Hi!

I have the same problem when modifying entries with CalDAV Sync App on  
Android 4.1.2 and the workaround is successful.





More information about the bugs mailing list