AnsweredAssumed Answered

getThumbnails returns empty list

Question asked by nfast on Sep 17, 2017


We are having trouble with thumbnails and the behavior is exhibited in the Upload Profile picture action.
When we upload a profile pic, it succeds, but it presents an empty [?] tag where the pictrure should be.

 

The Error code is a 500 and the url to the Avatar image resource is:
https://alfresco.server.com:8443/share/proxy/alfresco/api/node/workspace/SpacesStore/ecf5960c-42f5-4a88-a863-8cd5809b8b22/content/thumbnails/avatar?c=force

 

When I browse the repo and look for the avatar for the user I find:
https://alfresco.server.com:8443/share/proxy/alfresco/api/node/workspace/SpacesStore/4530de47-b6fe-426e-ab94-00d47865a7c8/content;cm:content

 

Works: Which will display the image content.

 

If I attempt:
https://alfresco.server.com:8443/share/proxy/alfresco/api/node/workspace/SpacesStore/ecf5960c-42f5-4a88-a863-8cd5809b8b22/content/thumbnails

 

Error: It returns an empty list.

[ ]

.

 

If I use:
https://alfresco.server.com:8443/share/proxy/alfresco/api/node/workspace/SpacesStore/ecf5960c-42f5-4a88-a863-8cd5809b8b22/content/thumbnail

 

Works: It returns the image.

 

If I use:
https://alfresco.server.com:8443/share/proxy/alfresco/api/node/workspace/SpacesStore/ecf5960c-42f5-4a88-a863-8cd5809b8b22/content/thumbnail/avatar?c=force


Works: It returns the Avatar image.

 

Error in Alfresco log:

2017-09-17 13:16:41,075 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8080-exec-25] Exception from executeScript: 08170084 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
org.springframework.extensions.webscripts.WebScriptException: 08170084 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

 

Is this a bug, feature or do I need to modify something?

 

Alfresco version: Community v5.2.0 (re21f2be5-b22) schema 10,057

 

Amps
alfresco-aos-module-1.1.6.amp
alfresco-googledocs-repo-3.0.4.amp
alfresco-share-services.amp
alfresco-wcmqs.amp
support-tools-repo-1.0.0.0-SNAPSHOT.amp
uploader-plus-repo-1.6-SNAPSHOT.amp

 

Amps Share
alfresco-googledocs-share-3.0.4.amp
alfresco-wcmqs-share.amp
support-tools-share-1.0.0.0-SNAPSHOT.amp
uploader-plus-surf-1.6-SNAPSHOT.amp

Outcomes