From fefbba1e9bdd32e813d94c8acaf42735ce7ce75e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 4 Feb 2011 16:06:13 +0000 Subject: [PATCH] Monotone-Parent: fd26ef54712b68d619a42454fdf11e513293163d Monotone-Revision: aac65a31ee08c38f3f5267343de6d090bbef6381 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-04T16:06:13 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 7 +++++++ OpenChange/MAPIStoreContext.m | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index e0d40931f..a03f024a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-02-04 Wolfgang Sourdeau + + * OpenChange/MAPIStoreContext.m + (-deleteMessageWithMID:inFID:withFlags:): we need to invoke + -cleanupCaches on the related table to avoid listing deleted + elements after this operation. + 2011-02-03 Ludovic Marcotte * OpenChange/SOGoAppointmentObject+MAPIStore.m diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index cbc57d634..1e45f143b 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -1471,6 +1471,7 @@ _prepareContextClass (struct mapistore_context *newMemCtx, { [self logWithFormat: @"sucessfully deleted object at URL: %@", childURL]; [mapping unregisterURLWithID: mid]; + [table cleanupCaches]; rc = MAPISTORE_SUCCESS; } }