View Issue Details

IDProjectCategoryView StatusLast Update
0005852SOGoWeb Calendarpublic2023-09-12 09:37
Reporterthn80 Assigned Toqhivert  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOS10OS Version64-bit
Product Version5.8.4 
Target Version5.9.0 
Summary0005852: Reoccurring events not shown in Web Calendar
Description

If importing the attached events.ics file into an empty calender, there will be two events.
"Event A" on September 20th and "Event B" on September, 1st.

In the "month" view for September 2023 (as well as in the list of events on the left side in the web UI) I can only see "Event A". "Event B" is NOT shown on September, 1st 2023, but I can see it on September, 1st of the years 2022 or 2024, for example.

The strange thing is that "Event B" immediately appears on September, 1st 2023 if I delete "Event A".

The problem only appears in the SOGo Web UI. If I connect to the same calendar in Thunderbird via CalDav, everything works fine.

Another strange effect is also that "Event B" immediately appears in the SOGo Web Calendar if I edit "Event B" in Thunderbird and change the yearly repeating of the event from the custom "on each 1st September" to simply "yearly". If I change it back again to the custom setting "on each 1st September", the event immediately disappears again in the SOGo Web UI calendar. I can also make this change in the settings of the event directly in the Web UI instead of Thunderbird.

I checked the attached events.ics file via https://icalendar.org/validator.html and there were no findings. The file seems to be valid.

Steps To Reproduce

1) Create an empty calender
2) Import the attached events.ics file.
3) Go to the "month" view of September 2023 and you can only see "Event A" (on September, 20th), but not "Event B" (on September, 1st).

4) Delete "Event A" and "Event B" will appear
OR
4) Change the settings for the repeating event of "Event B" in Thunderbird from "on each 1st September" to "yearly" and "Event B" will occur in the Web Calendar.
5) Set the settings of "Event B" from "yearly" back to "on each 1st September" (can be done in the Web Calendar) and the event will disappear again.

Please have a look on https://www.mrgray.de/SOGo_Issue.mp4 where I recorded a screen capture while reproducing the issue.

Tagscalendar, web

Activities

thn80

thn80

2023-09-04 18:59

reporter  

events.ics (2,116 bytes)   
BEGIN:VCALENDAR
PRODID:-//Inverse inc./SOGo 5.8.4//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Greenwich Standard Time
BEGIN:STANDARD
DTSTART:19700101T000000
TZNAME:Westafrikanische Normalzeit
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
END:STANDARD
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:W. Europe Standard Time
BEGIN:STANDARD
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU;BYHOUR=3;BYMINUTE=0
TZNAME:Mitteleuropäische Zeit
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU;BYHOUR=2;BYMINUTE=0
TZNAME:Mitteleuropäische Sommerzeit
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ATTENDEE;RSVP=TRUE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Foo Bar:m
 ailto:dummy@foobar.com
CLASS:PUBLIC
DTEND;TZID=W. Europe Standard Time:20230320T090000
DTSTAMP:20230902T200622Z
DTSTART;TZID=W. Europe Standard Time:20230320T080000
EXDATE:20230320T070000Z
EXDATE:20230420T060000Z
EXDATE:20230520T060000Z
EXDATE:20230620T060000Z
EXDATE:20230720T060000Z
ORGANIZER;CN=foo@bar.com:mailto:foo@bar.com
PRIORITY:5
RRULE:FREQ=MONTHLY;COUNT=10;BYMONTHDAY=20
SEQUENCE:0
SUMMARY:Event A
TRANSP:OPAQUE
UID:040000008200E00074C5B7101A82E008000000000000000000000000000000000000000
 0340000004D14C68E6D285940B19A7D3D1DC1F8D261313835313930392D643433652D34646
 5322D616630332D383133323536633530623537
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-SOGO-SEND-APPOINTMENT-NOTIFICATIONS:NO
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-PT10M
END:VALARM
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
DTEND;VALUE=DATE:20140902
DTSTAMP:20230902T190220Z
DTSTART;VALUE=DATE:20140901
PRIORITY:5
RRULE:FREQ=YEARLY;BYMONTH=9;BYMONTHDAY=1
SEQUENCE:0
SUMMARY:Event B
TRANSP:TRANSPARENT
UID:040000008200E00074C5B7101A82E008000000000000000000000000000000000000000
 0340000004D14C68E6D285940B19A7D3D1DC1F8D265366534633734612D306565622D34393
 8612D626466332D623334393465373963336634
X-MICROSOFT-CDO-BUSYSTATUS:FREE
END:VEVENT
X-WR-CALNAME:TEST 4 (Sync)
END:VCALENDAR
events.ics (2,116 bytes)   
qhivert

qhivert

2023-09-05 13:06

administrator   ~0017234

Last edited: 2023-09-05 13:09

Hello do you know what was the dates goal when creating the event? Because the ics is kind of strange yet valid.

For event B/
DTSTART;VALUE=DATE:20140901
So in 2014 :/

thn80

thn80

2023-09-05 20:30

reporter   ~0017237

This should be fine. The event comes from my private calender in which I created the event on September, 1st in 2014 (I remember that day very well, because of what happened on this day). That time it was done in Microsoft Outlook and to migrate to mailcow + SOGo I used https://caldavsynchronizer.org to sync all my events from Outlook to CalDAV. After the migration was done I recognized this strange behavior and removed event by event until I came to this absolutely minimal events.ics file which was exported from SOGo to show the problem.
At the end I only renamed the two events to not show my private data to the public, but both events come from my real productive calender.

thn80

thn80

2023-09-05 21:13

reporter   ~0017238

Were you able to reproduce the issue on your setup with my events.ics file or do you need some more information?

qhivert

qhivert

2023-09-06 06:54

administrator   ~0017239

Yes I can reproduce it! Just need to understand why and debug it now :)

qhivert

qhivert

2023-09-07 11:18

administrator   ~0017247

Hello!
I have push a fix, it will be available tomorrow with the nightly. Let me know if it's Ok.

thn80

thn80

2023-09-07 11:24

reporter   ~0017248

I have to check what the simplest way to check is, because usually I am using mailcow which includes SOGo.
Do you have some details on what went wrong? Was it a problem with the ics file or a real bug in SOGo?

qhivert

qhivert

2023-09-07 11:38

administrator   ~0017249

You could check tomorrow on our demo server, it is updated each day with the nightly.
To find it, check the "Try it online" on this page -> https://www.sogo.nu/

It was a bug on sogo side.

thn80

thn80

2023-09-08 09:23

reporter   ~0017253

I have checked it on your demo servers. The "Event B" is now shown on September, 1st, but it is not possible to open the event. If clicking on the event there only appears a error message "Not found" in the bottom right corner.

SOGo_NotFound.jpg (69,134 bytes)   
SOGo_NotFound.jpg (69,134 bytes)   
qhivert

qhivert

2023-09-08 13:52

administrator   ~0017254

Hello,
demo.sogo has not been updated correctly. I will check tommorow with the correct version if it's ok. In my dev machine, I can correctly see the events and select/edit/delete them.

qhivert

qhivert

2023-09-09 09:48

administrator   ~0017255

Hello I've done the test this morning with demo.sogo.nu and all seems to work

thn80

thn80

2023-09-09 11:58

reporter   ~0017256

Hello, I also did a test with the Demo server and I agree that it looks fine. Thank you very much qhivert for fixing this issue.

qhivert

qhivert

2023-09-09 14:50

administrator   ~0017257

Glad for you :)

Issue History

Date Modified Username Field Change
2023-09-04 18:59 thn80 New Issue
2023-09-04 18:59 thn80 Tag Attached: calendar
2023-09-04 18:59 thn80 Tag Attached: web
2023-09-04 18:59 thn80 File Added: events.ics
2023-09-05 12:40 qhivert Assigned To => qhivert
2023-09-05 12:40 qhivert Status new => assigned
2023-09-05 13:06 qhivert Note Added: 0017234
2023-09-05 13:07 qhivert Status assigned => feedback
2023-09-05 13:09 qhivert Note Edited: 0017234
2023-09-05 20:30 thn80 Note Added: 0017237
2023-09-05 20:30 thn80 Status feedback => assigned
2023-09-05 21:13 thn80 Note Added: 0017238
2023-09-06 06:54 qhivert Note Added: 0017239
2023-09-06 06:54 qhivert Status assigned => feedback
2023-09-06 06:54 qhivert Status feedback => assigned
2023-09-07 11:18 qhivert Status assigned => feedback
2023-09-07 11:18 qhivert Note Added: 0017247
2023-09-07 11:24 thn80 Note Added: 0017248
2023-09-07 11:24 thn80 Status feedback => assigned
2023-09-07 11:38 qhivert Note Added: 0017249
2023-09-07 11:38 qhivert Status assigned => feedback
2023-09-08 09:23 thn80 Note Added: 0017253
2023-09-08 09:23 thn80 File Added: SOGo_NotFound.jpg
2023-09-08 09:23 thn80 Status feedback => assigned
2023-09-08 13:52 qhivert Note Added: 0017254
2023-09-08 13:52 qhivert Status assigned => feedback
2023-09-09 09:48 qhivert Note Added: 0017255
2023-09-09 11:58 thn80 Note Added: 0017256
2023-09-09 11:58 thn80 Status feedback => assigned
2023-09-09 14:50 qhivert Note Added: 0017257
2023-09-09 14:50 qhivert Status assigned => closed
2023-09-09 14:50 qhivert Resolution open => fixed
2023-09-12 09:37 qhivert Target Version => 5.9.0