Monotone-Parent: edd6ac7b0fdcca99066a8097eefc5e8b36ff52fa

Monotone-Revision: fc4961b85b0b909fb28a4bee4624ff3842165a55

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-15T13:43:38
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-07-15 13:43:38 +00:00
parent ab43fce1af
commit bfa4af5713
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-07-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFolder.m (-createFolder:withRow:andFID:):
fixed referencing of resulting folder.
2011-07-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreSOGo.m: finalized the new API.

View File

@ -294,11 +294,14 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
[mapping registerURL: childURL withID: fid];
childFolder = [self lookupFolder: folderKey];
if (childFolder)
[childFolder setProperties: aRow];
{
[childFolder setProperties: aRow];
*childFolderPtr = childFolder;
rc = MAPISTORE_SUCCESS;
}
else
[NSException raise: @"MAPIStoreIOException"
format: @"unable to fetch created folder"];
rc = MAPISTORE_SUCCESS;
}
else
rc = MAPISTORE_ERROR;