AnsweredAssumed Answered

Can't found template (webscript status 500)

Question asked by tarl on Jan 22, 2010
Latest reply on Jan 28, 2010 by eruditionist
I created a webscript which is supposed to add an aspect to specific space with a POST form:
<shortname>Add Aspect to Project</shortname>
<description>add aspect to root project space</description>
<format default="html">extension</format>
var   props = new Array(1),
   spaceId = args.redmineIdentifier,
   strnodeReference = args.alfrescoNoderef;
projectNode= search.luceneSearch('ID:"'+strnodeReference+'"');
props["my:redID"] = spaceId;
projectNode[0].addAspect("my:redmineIdentifier", props);
model.resultString = "Syncronization Done!!!!";
     <p>info: ${}</p>
and the HTML form
<form action="http://localhost:8080/alfresco/service/addAspect" method="post">

         <input name="redmineIdentifier" type="hidden" value="toto" />

         <input name="alfrescoNoderef" type="hidden" value="workspace://SpacesStore/500d66d9-6e4c-450b-9296-cfbba2d7ba69" />
         <input name="commit" type="submit" value="Synchronization" />   

All those files are in the Webscript space of the data dictionary but I get this error:

The Web Script /alfresco/service/addAspect has responded with a status of 500 - Erreur Interne de Servlet.

500 Description:    Le serveur a recontrer une erreur interne qui l''a empêché de satisfaire la requête.

Message:   Wrapped Exception (with status template): IO Error during processing of the template 'com/eads/icam/'. Veuillez contacter votre administrateur système.

Exception: - Template com/eads/icam/ not found.
I really don't understand why! if somebody has an idea or a solution it ll be great!