View Issue Details

IDProjectCategoryView StatusLast Update
0005655SOGoBackend Calendarpublic2022-12-12 09:23
Reportervalium Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.8.0 
Summary0005655: Invitation error and inconsistency
Description

Since Thunderbird is the primary interface our users use to interact with sogo and it's been a long time without a working sogo connector plugin an interesting issue came up.

If someone with a mail-address attached to an sogo account creates an event invitation in Thunderbird and the personal sogo calendar is not configured but e.g. a local one is used instead, the resulting ics has the mail-address as organizer but the event is not saved in the sogo calendar.

If a person on the same sogo instance and correctly configured Thunderbird (I assume other caldav clients would behave in the same way) tries to accept the invitation, only the generic error message "Processing message failed. Status: 80004005." pops up.

The reason is that sogo responds with 412 (precondition failed) as shown in the screenshot from Thunderbird's developer console.
I assume other caldav clients would behave similarly.

This is inconsistent with the behaviour of the sogo web interface which happily accepts the invitation.

I also attached an ics invite which demonstrates this issue for sogo2 user on https://demo.sogo.nu.

The Thunderbird screenshot stems from an interaction with this instance, the web interface can be tested by attaching the ics invitation to a draft there.

Steps To Reproduce
  • create an invitation with a sogo users mail as "organizer" but the event is not in this users sogo calendar
  • accept the invitation as another user on the same sogo instance
    -> the caldav api returns "412 (precondition failed) " but in the webinterface it just works
TagsCalDAV, calendar, invite

Activities

valium

valium

2022-12-06 10:22

reporter  

demo.sogo_invite_fuckup.png (185,512 bytes)   
demo.sogo_invite_fuckup.png (185,512 bytes)   
fuckup_invite.ics (887 bytes)   
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Europe/Vienna
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20221103T124556Z
LAST-MODIFIED:20221103T124653Z
DTSTAMP:20221103T124653Z
UID:80484e37-7c9a-4d41-98e5-9b2ccc1f9f56
SUMMARY:fuckup invitation
ORGANIZER;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT:mailto:sogo1@example.com
ATTENDEE;RSVP=TRUE;CN=SOGO2;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PART
 ICIPANT:mailto:sogo2@example.com
DTSTART;TZID=Europe/Vienna:20221104T091500
DTEND;TZID=Europe/Vienna:20221104T101500
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

fuckup_invite.ics (887 bytes)   

Issue History

Date Modified Username Field Change
2022-12-06 10:22 valium New Issue
2022-12-06 10:22 valium Tag Attached: CalDAV
2022-12-06 10:22 valium Tag Attached: calendar
2022-12-06 10:22 valium Tag Attached: invite
2022-12-06 10:22 valium File Added: demo.sogo_invite_fuckup.png
2022-12-06 10:22 valium File Added: fuckup_invite.ics