This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// log the docs that currently contain the word 'Alfresco' to a log file | |
var logFile = space.childByNamePath("alf docs.txt"); | |
if (logFile == null) | |
{ | |
logFile = space.createFile("alf docs.txt"); | |
} | |
rules.enableRules(logFile); | |
print(rules.rulesEnabled(logFile)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script url /slingshot/node/content/workspace/SpacesStore/5930e336-37ae-4db4-ab96-eb9e29b77ec4/File-20151014.docx | |
does not support the method HEAD | |
17:49:46,379 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 01270029 Script url /slingshot/node/content/workspace/SpacesStore/5930e336-37ae-4db4-ab96-eb9e29b77ec4/File-20151014.docx does not support the method HEAD | |
org.springframework.extensions.webscripts.WebScriptException: 01270029 Script url /slingshot/node/content/workspace/SpacesStore/5930e336-37ae-4db4-ab96-eb9e29b77ec4/File-20151014.docx does not support the method HEAD | |
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:179) | |
at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) | |
... |
OlderNewer