Hello,
More than a bug it seems that's a case that sogo doesn't handle. iCalendar
specs allow a lot of ics configurations, and it seems you found one that is not
properly manage by sogo. The best would be that you open an issue on
https://bugs.sogo.nu/ so we can follow and discuss this issue. If you don't
have an account yet, create one but we have to enable it (we put this
protection to avoid spam), so send an email here to notice me. In this issue,
can you provide an ics so we can reproduce the problem?
Also, when you said: " I tested it with Thunderbird and Korganizer on linux and
they accept it." Does at mean those accept the ics with both DURATION and DTEND
or when you do the modification there, the ics is correctly changed?
Quentin
-Original Message-
From: users-requ...@sogo.nu On Behalf Of
gdelafond+sogo.nu
Sent: jeudi 26 octobre 2023 11:18
To: users@sogo.nu
Subject: [SOGo] DURATION and DTEND bug ?
Hello,
Summary: We have a problem when modifying an ICS that contains “DURATION=“.
We have a cal.com instance that is connected to a SOGo caldav server.
cal.com create events in SOGo calendars with DTSTART & DURATION options.
If we modify the event in SOGo (to add an additional attendee), SOGo adds
“DTEND” in the ICS but doesn't remove the “DURATION".
At the end, the ICS contains DURATION and DTEND, but the rfc5546 says :
| DTEND| 0 or 1 | If present, DURATION MUST NOT be present
| DURATION | 0 or 1 | If present, DTEND MUST NOT be present
When the ICS contains DTEND & DURATION, the event is not visible on Apple
Calendar.app (via the caldav connection) and the ICS cannot be manually
imported (On macOS 13.6, Calendar.app says "No event was added. No valid events
were found to add to your calendar.").
I tested it with Thunderbird and Korganizer on linux and they accept it.
I think it is a SOGo bug, isn’ t it ?
Thank you.
Regards,
--
Guillaume