AnsweredAssumed Answered

Thumbnail service ??? thumbnail.put.desc.xml

Question asked by flefoll on Sep 2, 2009
Latest reply on Feb 6, 2010 by mrogers
Hi,

I try to use https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.put.desc.xml as described here : http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference#Thumbnails_3

but JSON PUT calls fail badly with a not-so-funny answer :

Caused by: org.alfresco.service.cmr.repository.TemplateException: 08020264 IO Error during processing of the template 'org/alfresco/repository/thumbnail/thumbnail.put.json.ftl'. Please contact your system administrator.
        at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:222)
        at org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:523)
        at org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:241)
        at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
        … 24 more
Caused by: java.io.FileNotFoundException: Template org/alfresco/repository/thumbnail/thumbnail.put.json.ftl not found.
        at freemarker.template.Configuration.getTemplate(Configuration.java:489)
        at freemarker.template.Configuration.getTemplate(Configuration.java:452)
        at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:195)
        … 27 more

And actually this is true, this file doesn't exist anywhere…
Any thoughts ?

Thanks in advance,

Francois

Outcomes