From d902756aaf955a9ade6061806bb372e15b673197 Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Tue, 21 Apr 2026 13:52:19 +0200 Subject: [PATCH] fix(acl): fix folder path --- SoObjects/SOGo/SOGoGCSFolder.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index b36ba1477..8b0010f01 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -1871,6 +1871,7 @@ static NSArray *childRecordFields = nil; [adaptorCtx beginTransaction]; userRoles = [roles objectEnumerator]; + objectPath = [NSString stringWithFormat: @"/%@", objectPath]; while ((currentRole = [userRoles nextObject])) { int i = 0; @@ -1878,7 +1879,6 @@ static NSArray *childRecordFields = nil; adaptor = [adaptorCtx adaptor]; attribute = [EOAttribute new]; [attribute autorelease]; - objectPath = [NSString stringWithFormat: @"/%@", objectPath]; if ([GCSFolderManager singleStoreMode]) { sqlstr = [NSMutableString stringWithFormat: @"INSERT INTO %@" @@ -1928,7 +1928,6 @@ static NSArray *childRecordFields = nil; } [sqlstr appendString:@")"]; } - [channel evaluateExpressionX: sqlstr]; }