View Issue Details

IDProjectCategoryView StatusLast Update
0004728SOGoBackend Calendarpublic2019-04-10 10:09
Reporteralessice Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version4.0.7 
Summary0004728: METHOD:REPLY overwrites the entire event
Description

Hello,

we are working on integration between SOGo and our CRM, but we have a problem related to the CalDAV SOGo engine.

We want to update the event in organizer calendar processing an external ics, sent by mail with method REPLY with only one attendee inside (as per RFC 2446).

We noticed that sending the ics attached in mail directly to SOGo caldav engine causes an override of all attendees with only the one that answered the email.

We noticed that METHOD:REPLY is also responsible to "import" an external event in SOGo database, so we don't send a previous "PUT" with no METHOD specified to add it. Is it a correct assumption or do we need to import the event locally (in SOGo) in another way before replying?

Can you provide some hints on how to proceed?

Thanks

Steps To Reproduce

This is an example of original request coming from Gmail (but with other providers the request is almost the same):

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135647Z
ORGANIZER;CN=G:mailto:me@mail.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;
RSVP=TRUE;CN=me@mail.com;X-NUM-GUESTS=0:mailto:me@mail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;
RSVP=TRUE;CN=aa@mail.com;X-NUM-GUESTS=0:mailto:aa@mail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=G;
X-NUM-GUESTS=0:mailto:g@gmail.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135645Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:test gmail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

This is an example of a reply we are going to compose:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VEVENT
DTSTART:20190329T143000Z
DTEND:20190329T153000Z
DTSTAMP:20190325T135847Z
ORGANIZER;CN=G:mailto:me@gmail.com
UID:1ppgvkr2958songgv529v89bvt
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;
CN=g@mail.com;X-NUM-GUESTS=0:mailto:g@mail.com
CREATED:20190325T135645Z
DESCRIPTION:test
LAST-MODIFIED:20190325T135845Z
LOCATION:
SEQUENCE:0
SUMMARY:test gmail
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

At the end, the event in SOGo calendar contains only the g@gmail.com attendee.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-04-10 10:09 alessice New Issue