Merge branch 'master' into fix-some-warnings

Conflicts:
	UI/Scheduler/UIxAppointmentActions.m
This commit is contained in:
Patrice Levesque
2016-02-16 14:32:50 -05:00
16 changed files with 382 additions and 108 deletions
+6 -3
View File
@@ -454,6 +454,7 @@
SOGoAppointmentObject *co;
SoSecurityManager *sm;
WORequest *request;
id error;
unsigned int httpStatus;
BOOL forceSave;
@@ -477,7 +478,7 @@
else
{
[self setAttributes: params];
forceSave = NO;
forceSave = [[params objectForKey: @"ignoreConflicts"] boolValue];
if ([event hasRecurrenceRules])
[self _adjustRecurrentRules];
@@ -533,9 +534,11 @@
if ([ex respondsToSelector: @selector(httpStatus)])
httpStatus = [ex httpStatus];
error = [[ex reason] objectFromJSONString];
if (error == nil)
error = [ex reason];
jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys:
[ex reason], @"message",
nil];
error, @"message", nil];
}
else
{