cancel
Showing results for 
Search instead for 
Did you mean: 

Extender evaluator.lib.js

cybermakoki
Champ in-the-making
Champ in-the-making
Hola!

Estoy haciendo unos cambios en las acciones de Alfresco Share y he tenido que modificar el fichero evaluator.lib.js que está en:


$ALF_HOME$/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary

he intentado extenderlo en:

$ALF_HOME$/tomcat/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary

pero nada, no hay manera, no pilla los cambios… he visto que hay ficheros que hacen referencia a este fichero mediante classpath

<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/evaluator.lib.js">

he probado a cambiarlo pero casca!!

11:02:41,778  DEBUG [repo.jscript.RhinoScriptProcessor] Resolving and compiling script path: file:/opt/alfresco34/tomcat/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js
11:02:41,779  DEBUG [repo.jscript.RhinoScriptProcessor] Found script resource import: classpath:/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/evaluator.lib.js
11:02:41,782  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11200001 Wrapped Exception (with status template): 11200021 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': null
org.springframework.extensions.webscripts.WebScriptException: 11200001 Wrapped Exception (with status template): 11200021 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': null


alguna idea??

Gracias Smiley Happy
1 REPLY 1

eljuaner
Confirmed Champ
Confirmed Champ
Hola,

veo por la fecha del post que ya hace bastante tiempo de esto, pero me acabo de encontrar el mismo problema. Pudiste solucionarlo sin sobrescribir el fichero fuente de Alfresco?

Gracias!!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.