How does the image preview dashlet work. I added images to the image library and the all appeared in the dashlet. So does the image preview dashlet show you a preview of every image in the document library. Is there any doco on how it works.
I have a question about the behaviour of the preview .
I uploaded a pdf logging as a "admin" and then I tried preview as "admin". After then I logged in as "consumer" -(role). I am able to preview the document. >>>> This is fine
I uploaded a pdf logging as a "admin" and then I NEVER tried to preview as "admin". After then I logged in as "consumer" -(role). I am not able to preview the document. >>>> Is this the behaviour ?? I thought I should be able to see the document preview when I logged in as consumer…
Below are the log statements, if they can help . Please clarify the behaviour . FYI . I am using Alfresco 3.1 Enterprise edition. with Oracle and using Openoffice. I have MS office 2003
Thanks, Raja
LOG STATEMENT :
10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy: 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] - endpointId: alfresco 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] - userId: raja 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] - connector: http://localhost:8080/alfresco/s - {cleartextUsername=raja, cleartextPassword=raja} 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] - method: GET 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] - url: /api/node/workspace/SpacesStore/2dd744fa-4e72-4382-9230-3b5cf3fb4fb3/content/thumbnails/webpreview?c=force 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.WebScriptServlet] Processing request (GET) http://localhost:8080/alfresco/s/api/node/workspace/SpacesStore/2dd744fa-4e72-4382-9230-3b5cf3fb4fb3... 10:54:04,905 DEBUG [org.alfresco.web.scripts.AbstractRuntime] (Runtime=ServletRuntime, Container=Repository) Processing script url (GET) /api/node/workspace/SpacesStore/2dd744fa-4e72-4382-9230-3b5cf3fb4fb3/content/thumbnails/webpreview 10:54:04,905 DEBUG [org.alfresco.web.scripts.DeclarativeRegistry] Web Script index lookup for uri /api/node/workspace/SpacesStore/2dd744fa-4e72-4382-9230-3b5cf3fb4fb3/content/thumbnails/webpreview took 0.112025ms 10:54:04,905 DEBUG [org.alfresco.web.scripts.servlet.WebScriptServletRequest] Content Type: null 10:54:04,905 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Agent: null 10:54:04,905 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Invoking Web Script org/alfresco/repository/thumbnail/thumbnail.get (format [undefined], style: argument, default: null) 10:54:04,921 DEBUG [org.alfresco.repo.jscript.RhinoScriptProcessor] Time to execute script: 8.032026ms 10:54:04,921 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Web Script org/alfresco/repository/thumbnail/thumbnail.get executed in 16.805208ms 10:54:04,921 INFO [org.alfresco.web.scripts.AbstractRuntime] Caught exception & redirecting to status template: Wrapped Exception (with status template): Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:C:/Alfresco3.1/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': Access Denied. You do not have the appropriate permissions to perform this operation. 10:54:04,921 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Caught exception: org.alfresco.web.scripts.WebScriptException: Wrapped Exception (with status template): Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:C:/Alfresco3.1/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': Access Denied. You do not have the appropriate permissions to perform this operation. 10:54:04,921 DEBUG [org.alfresco.web.scripts.servlet.WebScriptServletRequest] Content Type: null 10:54:04,921 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Force success status header in response: false 10:54:04,921 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Sending status 500 (Template: status.ftl) 10:54:04,937 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Rendering response: content type=text/html 10:54:04,937 DEBUG [org.alfresco.web.scripts.servlet.WebScriptServletResponse] Cache - set response header Cache-Control: no-cache 10:54:04,937 DEBUG [org.alfresco.web.scripts.servlet.WebScriptServletResponse] Cache - set response header Pragma: no-cache 10:54:04,937 DEBUG [org.alfresco.web.scripts.AbstractRuntime] Processed script url (GET) /api/node/workspace/SpacesStore/2dd744fa-4e72-4382-9230-3b5cf3fb4fb3/content/thumbnails/webpreview in 23.216358ms 10:54:04,937 DEBUG [org.alfresco.web.scripts.servlet.EndPointProxyServlet] Return code: 500