parent
ee68cf6ed5
commit
9f96639e6f
1
NEWS
1
NEWS
|
@ -22,6 +22,7 @@ Bug fixes
|
||||||
- [web] respect SOGoLanguage and SOGoSupportedLanguages (#4169)
|
- [web] respect SOGoLanguage and SOGoSupportedLanguages (#4169)
|
||||||
- [web] fixed adding list members with multiple email addresses
|
- [web] fixed adding list members with multiple email addresses
|
||||||
- [web] fixed responsive condition of login page (960px to 1023px)
|
- [web] fixed responsive condition of login page (960px to 1023px)
|
||||||
|
- [web] don't throw errors when accessing nonexistent special mailboxes (#4177)
|
||||||
- [core] newly subscribed calendars are excluded from freebusy (#3354)
|
- [core] newly subscribed calendars are excluded from freebusy (#3354)
|
||||||
- [core] don't update subscriptions when owner is not the active user (#3988)
|
- [core] don't update subscriptions when owner is not the active user (#3988)
|
||||||
- [core] strip cr during LDIF import process (#4172)
|
- [core] strip cr during LDIF import process (#4172)
|
||||||
|
|
|
@ -714,9 +714,17 @@
|
||||||
error = [co expunge];
|
error = [co expunge];
|
||||||
if (error)
|
if (error)
|
||||||
{
|
{
|
||||||
data = [NSDictionary dictionaryWithObject: [self labelForKey: @"Unable to expunge folder." inContext: context]
|
if ([co isSpecialFolder])
|
||||||
forKey: @"message"];
|
{
|
||||||
response = [self responseWithStatus: 500 andJSONRepresentation: data];
|
// Special folder probably doesn't exist; ignore error.
|
||||||
|
response = [self responseWithStatus: 204];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
data = [NSDictionary dictionaryWithObject: [self labelForKey: @"Unable to expunge folder." inContext: context]
|
||||||
|
forKey: @"message"];
|
||||||
|
response = [self responseWithStatus: 500 andJSONRepresentation: data];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -730,7 +738,7 @@
|
||||||
response = [self responseWithStatus: 200 andJSONRepresentation: data];
|
response = [self responseWithStatus: 200 andJSONRepresentation: data];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
response = [self responseWithStatus: 200];
|
response = [self responseWithStatus: 204];
|
||||||
}
|
}
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
|
|
|
@ -767,6 +767,10 @@
|
||||||
|
|
||||||
if (data != nil)
|
if (data != nil)
|
||||||
response = [self responseWithStatus: 200 andJSONRepresentation: data];
|
response = [self responseWithStatus: 200 andJSONRepresentation: data];
|
||||||
|
else if ([folder isSpecialFolder])
|
||||||
|
{
|
||||||
|
response = [self responseWithStatus: 204];
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
data = [NSDictionary dictionaryWithObjectsAndKeys:
|
data = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
|
|
Loading…
Reference in New Issue