Closed GoogleCodeExporter closed 9 years ago
Original comment by will.abson
on 7 Nov 2011 at 2:29
Hi Florian, I believe the cause of this is the getThumbnails repository-tier
web script, which is actually part of the core repository, but is used here to
determine which thumbnails are present.
Could you try hitting the URL
http://localhost:8080/share/proxy/alfresco/api/node/workspace/SpacesStore/blah/c
ontent/thumbnails on your installation (assuming you are running on localhost),
where workspace/SpacesStore/blah represents the nodeRef of a video file that
you have uploaded.
If this is the same error as I see here then you should find that for
non-versioned video items the script returns OK, but for versioned video items
it returns an error.
Then if you get an error, then you should find you can suppress it by locating
the file
`WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/thumbnail
/thumbnails.get.json.ftl` inside the alfresco webapp and changing the line
`<@thumbnailLib.thumbnailJSON node=node
thumbnailName=thumbnail.properties.thumbnailName/>` to
`<@thumbnailLib.thumbnailJSON node=node thumbnailName=thumbnail.name/>`
Please let me know what you see in your environment.
Original comment by will.abson
on 23 Nov 2011 at 9:51
Logged https://issues.alfresco.com/jira/browse/ALF-11671 upstream
Original comment by will.abson
on 23 Nov 2011 at 10:27
Hi Will,
thanks for your reply. Right now I found the time to give your solution a try
and it worked. Changing the lines as you proposed worked like a charm.
Thanks again!
Original comment by florian....@googlemail.com
on 1 Dec 2011 at 2:57
Issue has been fixed upstream
Original comment by will.abson
on 17 Jul 2012 at 6:42
Original issue reported on code.google.com by
florian....@googlemail.com
on 20 Sep 2011 at 6:21Attachments: