diff --git a/NEWS b/NEWS index f9e554a46..6991e7400 100644 --- a/NEWS +++ b/NEWS @@ -46,6 +46,7 @@ Bug fixes - [web] replaced checkboxes in menu by a custom checkmark (#3557) - [web] fixed attachments display when forwarding a message (#3560) - [web] activate new calendar subscriptions by default + - [web] keep specified task status when not completed (#3499) - [eas] allow EAS attachments get on 2nd-level mailboxes (#3505) - [eas] fix EAS bday shift (#3518) diff --git a/SoObjects/Appointments/iCalToDo+SOGo.m b/SoObjects/Appointments/iCalToDo+SOGo.m index a64e7c21a..7cb00323e 100644 --- a/SoObjects/Appointments/iCalToDo+SOGo.m +++ b/SoObjects/Appointments/iCalToDo+SOGo.m @@ -187,11 +187,15 @@ // Handle completed date o = [data objectForKey: @"completedDate"]; if ([o isKindOfClass: [NSString class]] && [o length]) - completedDate = [self dateFromString: o inContext: context]; + { + completedDate = [self dateFromString: o inContext: context]; - o = [data objectForKey: @"completedTime"]; - if ([o isKindOfClass: [NSString class]] && [o length]) - [self adjustDate: &completedDate withTimeString: o inContext: context]; + o = [data objectForKey: @"completedTime"]; + if ([o isKindOfClass: [NSString class]] && [o length]) + [self adjustDate: &completedDate withTimeString: o inContext: context]; + } + else + [(iCalDateTime *) [self uniqueChildWithTag: @"completed"] setDateTime: nil]; o = [self status]; if ([o length]) diff --git a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox index 9a79347cf..da921366c 100644 --- a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox @@ -137,7 +137,7 @@