See ChangeLog

Monotone-Parent: 3c4baa92c5634d4da061da739a9b544d04c44586
Monotone-Revision: b5d91e74f183ad54e2362119b25b4556f810e3b6

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-31T14:22:34
maint-2.0.2
Ludovic Marcotte 2012-05-31 14:22:34 +00:00
parent 08230b33bb
commit f2b455fffc
2 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,9 @@
of attributes to SOPE.
* Added patch from bug #1608. This add many more password
schemes for SQL authentication.
* SoObject/Mailer/SOGoMailFolder.m (_readMailboxACL): we
now create the mailbox if we are trying to read ACL of
a deleted mailbox.
2012-05-29 Francis Lachapelle <flachapelle@inverse.ca>

View File

@ -1216,6 +1216,17 @@ static NSString *defaultUserID = @"anyone";
[mailboxACL release];
mailboxACL = [[self imap4Connection] aclForMailboxAtURL: [self imap4URL]];
// If the mailbox doesn't exist, we create it. That could happen if
// a special mailbox (Drafts, Sent, Trash) is deleted from SOGo's web GUI
// or if any other mailbox is deleted behind SOGo's back.
if ([mailboxACL isKindOf: [NSException class]])
{
[[self imap4Connection] createMailbox: [[self imap4Connection] imap4FolderNameForURL: [self imap4URL]]
atURL: [[self mailAccountFolder] imap4URL]];
mailboxACL = [[self imap4Connection] aclForMailboxAtURL: [self imap4URL]];
}
[mailboxACL retain];
[self _convertIMAPGroupnames];