Details
-
Bug
-
Resolution: Answered
-
Low
-
None
-
3.1
Description
When a cached chart macro is viewed, the following error is always produced
2010-02-07 17:08:45,911 ERROR [http-j2ee.node0.extranet.atlassian.com%2F172.16.3.10-8443-91] [confluence.servlet.download.ExportDownload] getStreamForDo wnload com.atlassian.confluence.importexport.resource.UnauthorizedDownloadResourceException -- url: /download/temp/chart2396731930224418911.png | userName: mhodges | referer: https://extranet.atlassian.com/display/~don.willis@atlassian.com/pla ying+with+confluence com.atlassian.confluence.importexport.resource.UnauthorizedDownloadResourceException at com.atlassian.confluence.importexport.resource.ExportDownloadResourceManager.getResourceReader(ExportDownloadResourceManager.java:67) at com.atlassian.confluence.importexport.resource.DelegatorDownloadResourceManager.getResourceReaderFromDelegate(DelegatorDownloadResourceManage r.java:75) at com.atlassian.confluence.importexport.resource.DelegatorDownloadResourceManager.getResourceReader(DelegatorDownloadResourceManager.java:32) at com.atlassian.confluence.servlet.download.ExportDownload.getStreamForDownload(ExportDownload.java:37) at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload$StreamResultCallback.doInTransaction(ServeAfterTransactionDownload.ja va:140) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.getStreamInTransaction(ServeAfterTransactionDownload.java:41) at com.atlassian.confluence.servlet.download.ServeAfterTransactionDownload.serveFile(ServeAfterTransactionDownload.java:50) at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:32) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
This makes sense, since the charts produced by the chart macro are only viewable by the user for whom they are rendered. But it's pretty annoying.
The cache macro is a popular 3rd party macro that lives at https://studio.plugins.atlassian.com/wiki/display/CACHE/Home