[Tickets #10991] Allday events are not correctly synchronized

bugs at horde.org bugs at horde.org
Tue Feb 14 20:58:15 UTC 2012


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/10991
------------------------------------------------------------------------------
  Ticket           | 10991
  Erstellt Von     | gsg at 2ghc.de
  Zusammenfassung  | Allday events are not correctly synchronized
  Warteschlange    | Synchronization
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


gsg at 2ghc.de (2012-02-14 20:58) hat geschrieben:

Synchronization of allday events from mobile to horde is incorrect. It  
works the other way around (from horde to the device).

Timezone of my mobile (Android 4.0.3) and server are set up correctly  
(both on UTC +1). I double checked this.

I created an allday event on my mobile and inspected the activesync post.
The start and end times are correcty transformed to UTC. But,  
according to the activesync protocol  
(http://msdn.microsoft.com/en-us/library/ee203617%28v=exchg.80%29.aspx), an  
allday starts at midnight of the start day and ends at midnight of the  
last day +1.
So an allday event for 02.14.2012 (in my case) is posted as an event  
from 02.13.2012 11pm to 02.14.2012 11pm.

Now this event is parsed and stored in the database. But allday events  
in horde (kronolith) start from midnight of the start day and end at  
11:59:00pm of the last day (afaik).
The activesync event is stored with the above datetimes (11pm to 11pm)  
and konolith shows the given event as allday from 02.13.2012 to  
02.14.2012 which is wrong.

To debug this issue I modified the function fromASAppointment in  
kronolith (lib/Event.php) and manually added one hour to $this->start  
and $this->end. After that, allday events are synchronized correctly  
from mobile to horde.

Summarized: I guess the conversation of the times of allday events is  
missing (at least from mobile to horde).





More information about the bugs mailing list