cancel
Showing results for 
Search instead for 
Did you mean: 

Conflict between IMAP and Audit

bertrandf
Champ on-the-rise
Champ on-the-rise
Hi,
I've got some troubles with IMAP and Audit on Alfresco 3.3.

I've enable IMAP on my Alfresco where Audit is already enable, my alfresco-global.properties :
# Audit
audit.enabled=true
audit.useNewConfig=false

# IMAP
imap.server.enabled=true
imap.server.port=143
imap.server.host=192.168.1.135

In Thunderbird, when I try to access to Alfresco via IMAP, I've got the error :
LSUB failed. Unannotated service method SiteService.listSites


In debug mode, I find that SiteService is @PublicService (add on r19348 on HEAD).

When IMAP try to retrieve share sites (getNonFavouriteSites(user) in ImapServiceImpl) :
res = serviceRegistry.getSiteService().listSites(userName);

An error is thrown in AuditComponent.audit() method :
if (method.getDeclaringClass().isInterface() && method.getDeclaringClass().isAnnotationPresent(PublicService.class))
{
    throw new RuntimeException("Unannotated service method " + serviceName + "." + methodName);
}

Does some Auditable annotations are missing in SiteService Interface?

Sincerly.
(Sorry for my poor english)
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Please raise issues in JIRA (issues.alfresco.com)

bertrandf
Champ on-the-rise
Champ on-the-rise