From 75f5f877251e183ff3bc697ece6193e835976134 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 10 Jul 2007 14:19:02 +0000 Subject: [PATCH] Monotone-Parent: 5edc9c687517915e7079d29e0c44330d7b0309a8 Monotone-Revision: 9ea4114fbf6afc57384f977b75fb50113bf00a63 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-10T14:19:02 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ UI/Scheduler/UIxTaskEditor.m | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0bf464dd4..24fa871c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-07-10 Wolfgang Sourdeau + * UI/Scheduler/UIxTaskEditor.m ([UIxTaskEditor + -takeValuesFromRequest:_rqinContext:_ctx]): explicitly set the + start and due dates to nil if hasStartDate and hasDueDate are + false. + * SoObjects/SOGo/SOGoAuthenticator.m ([SOGoAuthenticator -passwordInContext:context]): made method public. diff --git a/UI/Scheduler/UIxTaskEditor.m b/UI/Scheduler/UIxTaskEditor.m index c2764a393..d2c2a342c 100644 --- a/UI/Scheduler/UIxTaskEditor.m +++ b/UI/Scheduler/UIxTaskEditor.m @@ -373,8 +373,14 @@ if (hasStartDate) [todo setStartDate: taskStartDate]; + else + [todo setStartDate: nil]; + if (hasDueDate) [todo setDue: taskDueDate]; + else + [todo setDue: nil]; + if ([status isEqualToString: @"COMPLETED"]) [todo setCompleted: statusDate]; else