View Issue Details

IDProjectCategoryView StatusLast Update
0004943SOGoActiveSyncpublic2020-02-10 14:42
Reporterondrej.kolin Assigned Toludovic  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
PlatformServerOSUbuntuOS Version18.04
Product Version4.2.0 
Fixed in Version4.3.1 
Summary0004943: Event delayed by one hour after EAS sync done
Description

ICS exported from our internal booking system.

1) Import to outlook - time is correct
2) Sogo shows it as one hour earlier events

And it btw. adds a notification to the event, as there were no notification before.

Additional Information

dpkg --list | grep sogo
ii sogo 4.2.0.20200120-1 amd64 a modern and scalable groupware
ii sogo-activesync 4.2.0.20200120-1 amd64 a modern and scalable groupware - ActiveSync module

TagsNo tags attached.

Activities

ondrej.kolin

ondrej.kolin

2020-01-22 08:15

reporter  

trunc.log (58,101 bytes)   
Flug-T17565355_1.ics (1,943 bytes)   
Flug-T17565355_2.ics (1,867 bytes)   
Hotel-T17565355_1.ics (1,328 bytes)   
tfu

tfu

2020-01-22 16:01

reporter   ~0014085

Content of trunc.log seems to be from a different case.

tfu

tfu

2020-01-22 18:06

reporter   ~0014086

I think this is an Outlook bug. Looking into sogo.log you will find that Outlook sends a wrong start-/endtime
<StartTime xmlns="Calendar:">20200129T043500Z</StartTime>
<EndTime xmlns="Calendar:">20200129T055000Z</EndTime>

When I import the ics in Outlook without the VTIMEZONE sections the sogo shows correct dates.
You can add an event with the same dates in OL and compare the request in sogo.log (search for <ClientId>).

Another weird behaviour is that I'm not able to delete such event from Outlook. Although it disappears in OL accoding to sogo.log no '<Delete>'-request is sent to sogo.

ondrej.kolin

ondrej.kolin

2020-01-27 07:36

reporter   ~0014107

@tfu any experience reporting bugs to Outlook project? Because our sales are eager to get this repaired :-/

tfu

tfu

2020-01-28 06:13

reporter   ~0014110

What you can test is to export an event from Outlook and re-import it. If that is working you can compare the ics?

publo-aleksey@mail.ru

publo-aleksey@mail.ru

2020-01-29 22:40

reporter   ~0014119

Hallo! I have same problem - outlook clients write incorrect time into sogo after meeting acception. On test client i saw "Baghdad" +3, instead "Moscow" +3. There is no summer time in Baghdad, but meeting comes to outlook by ActiveSync with 1 hour early. In SOGO WUI it seens correct.

Christian Mack

Christian Mack

2020-01-30 08:09

developer   ~0014120

@publo-aleksey@mail.ru
Do you also have 2 timezone entries in your affected event?

publo-aleksey@mail.ru

publo-aleksey@mail.ru

2020-01-31 18:25

reporter   ~0014124

This is text from sogo and ics from outlook. It wil be 1 hour later, from 10 to 11. Invitation created in another outlook. All using outlook 365 with active sync, all computers, outlook and sogo users have same time zone - Moscow (+3). Default time zone in sogo.conf is Moscow too.

publo-aleksey@mail.ru

publo-aleksey@mail.ru

2020-01-31 18:26

reporter   ~0014125

files

meet.ics (1,510 bytes)   
sogo-text.txt (2,829 bytes)   
francis

francis

2020-01-31 19:02

administrator   ~0014126

Do you also have the time shift when you import the ics from the Web interface?

tfu

tfu

2020-02-02 10:37

reporter   ~0014127

Unfortunately this bug deals now with to different (unrelated) problems.
The problem reported by ondrej.kolin is caused by outlook and there is nothing what can be fixed from sogo side.
--> https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcical/9b81b753-23fc-4635-a4f0-16445897d22b
--> If a BYMONTHDAY is specified, it MUST specify a single day of the month (BYMONTHDAY=12, but not BYMONTHDAY=14,15).

The reason for the problem reported by publo-aleksey@mail.ru is that timzones with an until= in the rrule element are not handled properly.

publo-aleksey@mail.ru

publo-aleksey@mail.ru

2020-02-04 18:43

reporter   ~0014136

Good evening. Is possible to solve my problem with wrong timezones? How can i help?

tfu

tfu

2020-02-05 15:56

reporter   ~0014139

Regarding the "1 hour shift" see pull request 0000269.

tfu

tfu

2020-02-05 17:38

reporter   ~0014141

@publo-aleksey@mail.ru - Please test with upcoming nightly build.

publo-aleksey@mail.ru

publo-aleksey@mail.ru

2020-02-06 21:19

reporter   ~0014144

Hello! Yes, it looks working. We didn't repeat problem with time today. Tomorrow i'll get approvements from users.
But i have new problem - some times after accept invitation i got two meetings instead one. It has some different time, other properties absolutely identical. It happened on active sync outlook 365 clients too. Problem not repeats every times. Will i create new issue for it?

two_meetings.png (3,247 bytes)   
07_02 1900 - 1930 1.ics (1,638 bytes)   
07_02 1900 - 1930.ics (1,638 bytes)   
tfu

tfu

2020-02-07 06:57

reporter   ~0014145

The new issue you describe sounds like what is reported in bug 4936.

Related Changesets

sogo: master 24fc9a95

2020-02-02 06:14

root


Details Diff
fix(calendar): handle tz with until in rrule (fixes 0004943) Affected Issues
0004943
mod - SOPE/NGCards/iCalTimeZonePeriod.m Diff File

sogo: master dda13e60

2020-02-05 11:34

ludovic

Committer: GitHub


Details Diff
Merge pull request 0000269 from tfux/ics_import

fix(calendar): fallback to tz found in ics (fixes 0004943)
Affected Issues
0004943
mod - SOPE/NGCards/iCalTimeZonePeriod.m Diff File
mod - SoObjects/Appointments/SOGoAppointmentFolder.m Diff File
mod - SoObjects/Appointments/SOGoAppointmentObject.m Diff File
mod - SoObjects/Appointments/iCalEvent+SOGo.h Diff File
mod - SoObjects/Appointments/iCalEvent+SOGo.m Diff File

Issue History

Date Modified Username Field Change
2020-01-22 08:15 ondrej.kolin New Issue
2020-01-22 08:15 ondrej.kolin File Added: trunc.log
2020-01-22 08:15 ondrej.kolin File Added: Flug-T17565355_1.ics
2020-01-22 08:15 ondrej.kolin File Added: Flug-T17565355_2.ics
2020-01-22 08:15 ondrej.kolin File Added: Hotel-T17565355_1.ics
2020-01-22 16:01 tfu Note Added: 0014085
2020-01-22 18:06 tfu Note Added: 0014086
2020-01-27 07:36 ondrej.kolin Note Added: 0014107
2020-01-28 06:13 tfu Note Added: 0014110
2020-01-29 22:40 publo-aleksey@mail.ru Note Added: 0014119
2020-01-30 08:09 Christian Mack Note Added: 0014120
2020-01-31 18:25 publo-aleksey@mail.ru Note Added: 0014124
2020-01-31 18:26 publo-aleksey@mail.ru File Added: meet.ics
2020-01-31 18:26 publo-aleksey@mail.ru File Added: sogo-text.txt
2020-01-31 18:26 publo-aleksey@mail.ru Note Added: 0014125
2020-01-31 19:02 francis Note Added: 0014126
2020-02-02 10:37 tfu Note Added: 0014127
2020-02-04 18:43 publo-aleksey@mail.ru Note Added: 0014136
2020-02-05 15:56 tfu Note Added: 0014139
2020-02-05 16:35 Changeset attached => sogo master 24fc9a95
2020-02-05 16:35 ludovic Changeset attached => sogo master dda13e60
2020-02-05 16:35 ludovic Assigned To => ludovic
2020-02-05 16:35 ludovic Resolution open => fixed
2020-02-05 17:38 tfu Note Added: 0014141
2020-02-06 21:19 publo-aleksey@mail.ru File Added: two_meetings.png
2020-02-06 21:19 publo-aleksey@mail.ru File Added: 07_02 1900 - 1930 1.ics
2020-02-06 21:19 publo-aleksey@mail.ru File Added: 07_02 1900 - 1930.ics
2020-02-06 21:19 publo-aleksey@mail.ru Note Added: 0014144
2020-02-07 06:57 tfu Note Added: 0014145
2020-02-10 14:42 francis Status new => resolved
2020-02-10 14:42 francis Fixed in Version => 4.3.1