From 8d2bcaf2b31ce9588cea2d3b1a5adfb5dd127ff3 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Wed, 5 Dec 2007 22:30:12 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1289 d1b88da0-ebda-0310-925b-ed51d893ca5b --- ChangeLog | 9 +++++++++ UI/Contacts/UIxContactEditor.m | 3 ++- UI/Scheduler/UIxAppointmentEditor.m | 2 +- UI/Scheduler/UIxTaskEditor.m | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index efbbf3bf..af43fe95 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 f36e2bc8..7181f47a 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 911b2404..cd5331e3 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 cc0aac6e..7ec0b0d4 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]; -- 2.39.5