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

noreply at bugs.horde.org noreply at bugs.horde.org
Fri May 24 07:08:21 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         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
  Summary            | edit event in CalDAV calendar does not work
  Queue              | Kronolith
  Version            | 4.1.0beta1
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2013-05-24 07:08) wrote:

> Cannot reproduce. Is this with all events? Only certain? Only old,  
> only new events?

This code is hit, when one modifies an event.

The problem is actually, that $content->getAttribute('LAST-MODIFIED')  
returns an integer (seconds since epoch), hence,  
$content->getAttribute('LAST-MODIFIED')->before($modified) fires that  
PHP error.

$modified is a string in ISO-format.

My workaround is to cast the integer into ISO-format for comparison,  
if getAttribute('LAST-MODIFIED') returns an integer only.

I posted my upgrade path on 15 May 2013 15:57:52 to the list with  
subject "CalDAV change event fails with PHP error", maybe something  
got screwed up then.





More information about the bugs mailing list