View Issue Details

IDProjectCategoryView StatusLast Update
0003822SOGoActiveSyncpublic2016-10-03 13:12
Reporterrogiervandervelde Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version3.1.5 
Target Version3.2.0Fixed in Version3.2.0 
Summary0003822: Recurring events with timezones are not on the correct time in Outlook
Description

When creating and event in the webcalendar, the timezone in Outlook is displayed as (UTC+09:00) Jakoetsk, althought the timezone is Asia/Tokyo (also +9:00) on the server and client. It is displayed at the correct time however. When changing this event to a recurring event in the webcalendar, the event jumps back 9 hours in Outlook. This also is happening when creating a new recurring event in the webcalendar.

Additional Information

This machine has moved from Europe to Japan, so there are also old events with a different timezone in the database. But I've just tried with a fresh install and the result is the same, the event jumps back 9 hours after changing it to a recurring event.

TagsNo tags attached.

Activities

rogiervandervelde

rogiervandervelde

2016-09-27 06:49

reporter  

collection_event.txt (2,587 bytes)   
tfu

tfu

2016-09-30 07:43

reporter   ~0010709

Can you please show the raw ics data of the events.
Are you in the position to test a patch (i.e. compile form source)?

rogiervandervelde

rogiervandervelde

2016-09-30 08:37

reporter  

TEST (web).ics (604 bytes)   
rogiervandervelde

rogiervandervelde

2016-09-30 08:37

reporter  

TEST (Outlook).ics (973 bytes)   
rogiervandervelde

rogiervandervelde

2016-09-30 08:41

reporter   ~0010710

I've uploaded the same event twice, one is the ics data from the web interface (web), the other from Outlook. The timezone is different (the happens to non-recurring events as well, if you want an example of this, I can upload them as well).

Compiling from source is no problem, currently running a selfcompiled version from the 3.1.5 source.

tfu

tfu

2016-09-30 21:04

reporter  

3822.diff (3,627 bytes)   
tfu

tfu

2016-09-30 21:08

reporter   ~0010712

Please test attached patch and provide feedback.

tfu

tfu

2016-10-01 07:26

reporter  

3822-2.diff (3,988 bytes)   
tfu

tfu

2016-10-01 07:27

reporter   ~0010713

Modified patch to also deal with allday-events.

rogiervandervelde

rogiervandervelde

2016-10-01 15:39

reporter   ~0010714

I've tried the patch (both) on my test system, and it seems to solve the problem. The calendar shows on the correct date/timezone in Outlook, but timezone changes in Outlook are converted to localtime on the backend however, so timezone information is lost (although the time itself is correct).

tfu

tfu

2016-10-01 21:40

reporter   ~0010715

Currently the timezone sent by the client is not used during the event update, user's timezone specified in SOGo is used instead.

rogiervandervelde

rogiervandervelde

2016-10-02 12:57

reporter   ~0010716

Then the problem is solved as far as I can tell, thank you very much!

ludovic

ludovic

2016-10-03 13:12

reporter   ~0010718

Applied a slightly modified version of the patch.

Related Changesets

sogo: master 23fa9c0e

2016-10-03 08:59

ludovic


Details Diff
(fix) fixed recurring events with timezones for EAS (fixes 0003822) Affected Issues
0003822
mod - ActiveSync/iCalRecurrenceRule+ActiveSync.m Diff File
mod - ActiveSync/iCalTimeZone+ActiveSync.m Diff File

sogo: v2 665367f8

2016-10-03 08:59

ludovic


Details Diff
(fix) fixed recurring events with timezones for EAS (fixes 0003822) Affected Issues
0003822
mod - ActiveSync/iCalRecurrenceRule+ActiveSync.m Diff File
mod - ActiveSync/iCalTimeZone+ActiveSync.m Diff File

Issue History

Date Modified Username Field Change
2016-09-27 04:29 rogiervandervelde New Issue
2016-09-27 06:49 rogiervandervelde File Added: collection_event.txt
2016-09-30 07:43 tfu Note Added: 0010709
2016-09-30 08:37 rogiervandervelde File Added: TEST (web).ics
2016-09-30 08:37 rogiervandervelde File Added: TEST (Outlook).ics
2016-09-30 08:41 rogiervandervelde Note Added: 0010710
2016-09-30 21:04 tfu File Added: 3822.diff
2016-09-30 21:08 tfu Note Added: 0010712
2016-10-01 07:26 tfu File Added: 3822-2.diff
2016-10-01 07:27 tfu Note Added: 0010713
2016-10-01 15:39 rogiervandervelde Note Added: 0010714
2016-10-01 21:40 tfu Note Added: 0010715
2016-10-02 12:57 rogiervandervelde Note Added: 0010716
2016-10-02 13:46 ludovic Target Version => 3.2.0
2016-10-03 13:02 ludovic Changeset attached => sogo master 23fa9c0e
2016-10-03 13:02 ludovic Assigned To => ludovic
2016-10-03 13:02 ludovic Resolution open => fixed
2016-10-03 13:03 ludovic Changeset attached => sogo v2 665367f8
2016-10-03 13:12 ludovic Note Added: 0010718
2016-10-03 13:12 ludovic Status new => resolved
2016-10-03 13:12 ludovic Fixed in Version => 3.2.0