Merge pull request #81 from Zentyal/ejhernandez/fix-move-db-folder

oc: Set right container in dbFolder when moving a folder
This commit is contained in:
Jesús García Sáez committed 2015-01-28 16:34:27 +01:00
commit 0a198ccb05
5 files changed
+16 -2

No files matched your search

+2 -1
View File
@@ -152,7 +152,8 @@ static NSString *MAPIStoreRightFolderContact = @"RightsFolderContact";
targetPath = [[targetFolder sogoObject] path];
newPath = [NSString stringWithFormat: @"%@/%@",
targetPath, pathComponent];
[dbFolder changePathTo: newPath];
[dbFolder changePathTo: newPath
intoNewContainer: [targetFolder dbFolder]];
mapping = [self mapping];
newURL = [NSString stringWithFormat: @"%@%@/",
+2 -1
View File
@@ -1286,7 +1286,8 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
[dbFolder changePathTo: [NSString stringWithFormat:
@"%@/folder%@",
parentDBFolderPath,
newFolderDBName]];
newFolderDBName]
intoNewContainer: [targetFolder dbFolder]];
}
}
else