AnsweredAssumed Answered

Gallery Plus Dashlet addon causes download zip to fail in Alfresco 5.1

Question asked by pcharsle on Oct 7, 2016
Latest reply on Nov 9, 2017 by pcharsle

We have successfully used the excellent addon Gallery Plus Dashlet | Alfresco Add-ons - Alfresco Customizations in Alfresco 4.1 and are now working to use it in Alfresco 5.1. We have discovered that when the dashlet is installed, the "download zip" feature fails for all users except the Alfresco Administrator. The following error is displayed in the catalina.out log file:


Caused by: 08200020 Access Denied. You do not have the appropriate permissions to perform this operation.


  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

  at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

  at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(

  at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(

  at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

  at org.alfresco.enterprise.repo.authorization.AuthorizationStatusInterceptor.invoke(

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(

  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(

  at com.sun.proxy.$Proxy24.hasAspect(Unknown Source)

  at de.fme.alfresco.dashlets.AlbumAspect.onCreateNode(Unknown Source)


Debugging has shown that the error occurs on line 132 of the AlbumAspect class when nodeService.hasAspect(parentNode, GalleryPlusModel.ASPECT_ALBUM) is called. The error still occurs even when parentNode does not have the GalleryPlusModel.ASPECT_ALBUM.


This means that the only way for us to give our users the new download zip functionality is to remove the gallery dashlet completely.


Can anyone suggest why this error might be happening or what further tests we could do to find a solution?