2007-12-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+ * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor -newAction]):
+ create task obejcts with the .ics extension.
+
+ * UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
+ -newAction]): create appointment objects with the .ics extension.
+
+ * UI/Contacts/UIxContactEditor.m ([UIxContactEditor -newAction]):
+ create objects with the .vcf extension.
+
* Main/NSException+Stacktrace.m: added missing symbols from
NSException.m and NSDebug.m (GNUstep).
return [NSException exceptionWithHTTPStatus: 500 /* Internal Error */
reason: @"could not create a unique ID"];
- nextMethod = [NSString stringWithFormat: @"../%@/%@",
+ nextMethod = [NSString stringWithFormat: @"../%@.vcf/%@",
objectId, [self editActionName]];
uri = [self _completeURIForMethod: nextMethod];
+
return [self redirectToLocation: uri];
}
objectId = [co globallyUniqueObjectId];
if ([objectId length] > 0)
{
- method = [NSString stringWithFormat:@"%@/%@/editAsAppointment",
+ method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment",
[co soURL], objectId];
uri = [self completeHrefForMethod: method];
result = [self redirectToLocation: uri];
objectId = [co globallyUniqueObjectId];
if ([objectId length] > 0)
{
- method = [NSString stringWithFormat:@"%@/%@/editAsTask",
+ method = [NSString stringWithFormat:@"%@/%@.ics/editAsTask",
[co soURL], objectId];
uri = [self completeHrefForMethod: method];
result = [self redirectToLocation: uri];