mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84024: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) 82524: Merged DEV to V4.2-BUG-FIX (4.2.4) 82434 : MNT-12270 : IMAP server closes connections/ IMAP sync fails - Incorrect extracting of values from cache git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84615 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -236,7 +236,8 @@ public class AlfrescoImapHostManager implements ImapHostManager
|
||||
|
||||
AlfrescoImapFolder result = folderCache.get(folderPath);
|
||||
|
||||
return result;
|
||||
// if folder isn't in cache then add it via registerMailBox method
|
||||
return result != null ? result : registerMailBox(imapService.getOrCreateMailbox(alfrescoUser, mailboxName, true, false));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user