View Issue Details

IDProjectCategoryView StatusLast Update
0001959SOGoBackend Calendarpublic2016-09-23 19:33
Reportermaxb Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.3.17 
Target Versionsoon 
Summary0001959: Misleading HTTP response code when icalendar sequence number incorrect
Description

In the file SoObjects/Appointments/SOGoAppointmentObject.m, there is the following code fragment:

// We first check of the sequences are alright. We don't accept attendees
// accepting "old" invitations. If that's the case, we return a 403
if ([[newEvent sequence] intValue] < [[oldEvent sequence] intValue])
return [NSException exceptionWithHTTPStatus:403
reason: @"sequences don't match"];

"403 Forbidden" is somewhat misleading and inaccurate for this case. "409 Conflict" would seem to be much more suitable.

TagsNo tags attached.

Activities

ludovic

ludovic

2016-09-23 19:33

administrator   ~0010677

That was changed a little while ago to a 409.

Issue History

Date Modified Username Field Change
2012-08-27 11:35 maxb New Issue
2012-12-03 16:36 ludovic Target Version => soon
2016-09-23 19:33 ludovic Note Added: 0010677
2016-09-23 19:33 ludovic Status new => resolved
2016-09-23 19:33 ludovic Resolution open => fixed
2016-09-23 19:33 ludovic Assigned To => ludovic