diff --git a/ChangeLog b/ChangeLog index efbbf3bf9..af43fe950 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2007-12-05 Wolfgang Sourdeau + * 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). diff --git a/UI/Contacts/UIxContactEditor.m b/UI/Contacts/UIxContactEditor.m index f36e2bc85..7181f47a6 100644 --- a/UI/Contacts/UIxContactEditor.m +++ b/UI/Contacts/UIxContactEditor.m @@ -593,9 +593,10 @@ 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]; } diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index 911b2404a..cd5331e32 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -344,7 +344,7 @@ 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]; diff --git a/UI/Scheduler/UIxTaskEditor.m b/UI/Scheduler/UIxTaskEditor.m index cc0aac6e8..7ec0b0d40 100644 --- a/UI/Scheduler/UIxTaskEditor.m +++ b/UI/Scheduler/UIxTaskEditor.m @@ -338,7 +338,7 @@ 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];