Monotone-Parent: f38b4d4216272f28a87c515f453e570087af0004

Monotone-Revision: da177815e95b11791d2a07d68ea27df0c5d8b8e8

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-03-25T20:43:29
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-03-25 20:43:29 +00:00
parent 43c0f75dc8
commit 2bc2bb954b
2 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,9 @@
2008-03-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
-takeValuesFromRequest:_rqinContext:_ctx]): treat the regular
monthly recurrences as all others.
* SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder
-davSetProperties:setPropsremovePropertiesNamed:removedPropsinContext:localContext]):
returns an exception if the property to modify is not

View File

@@ -1428,7 +1428,7 @@ RANGE(2);
// We recur on specific days...
if ([[self repeat2] intValue] == 1)
{
[theRule setNamedValue: @"bymonthday" to: [self repeat5]];
[theRule setNamedValue: @"bymonthday" to: [self repeat5]];
}
else
{
@@ -1526,16 +1526,12 @@ RANGE(2);
|iCalWeekDayFriday)];
[rule setFrequency: iCalRecurrenceFrequenceDaily];
}
else if ([repeat caseInsensitiveCompare: @"MONTHLY"] == NSOrderedSame)
{
[rule setNamedValue: @"bymonthday"
to: [NSString stringWithFormat: @"%d", [[component startDate] dayOfMonth]]];
[rule setFrequency: iCalRecurrenceFrequenceMonthly];
}
else if ([repeat caseInsensitiveCompare: @"DAILY"] == NSOrderedSame ||
[repeat caseInsensitiveCompare: @"WEEKLY"] == NSOrderedSame ||
[repeat caseInsensitiveCompare: @"YEARLY"] == NSOrderedSame)
else if ([repeat caseInsensitiveCompare: @"MONTHLY"] == NSOrderedSame
|| [repeat caseInsensitiveCompare: @"DAILY"] == NSOrderedSame
|| [repeat caseInsensitiveCompare: @"WEEKLY"] == NSOrderedSame
|| [repeat caseInsensitiveCompare: @"YEARLY"] == NSOrderedSame)
{
[rule setInterval: @"1"];
[rule setFrequency:
(iCalRecurrenceFrequency) [rule valueForFrequency: repeat]];
}