mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.4-BUG-FIX to HEAD
31676: ALF-8906: Fix IMAP unit test failures git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -204,7 +204,7 @@ public class ImapServiceImpl implements ImapService, OnCreateChildAssociationPol
|
||||
@Override
|
||||
protected void onBootstrap(ApplicationEvent event)
|
||||
{
|
||||
service.startupInTxn();
|
||||
service.startupInTxn(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -431,9 +431,9 @@ public class ImapServiceImpl implements ImapService, OnCreateChildAssociationPol
|
||||
{
|
||||
}
|
||||
|
||||
protected void startupInTxn()
|
||||
protected void startupInTxn(boolean force)
|
||||
{
|
||||
if (getImapServerEnabled())
|
||||
if (force || getImapServerEnabled())
|
||||
{
|
||||
AuthenticationUtil.runAs(new RunAsWork<Void>()
|
||||
{
|
||||
|
Reference in New Issue
Block a user