-
Type:
Service Pack Request
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.0.0.4
-
Fix Version/s: 5.0.2
-
Component/s: Share Extensions and Customisations
-
Labels:None
-
Environment:Alfresco 5.0.0.3 and 5.0.0.4
-
Bug Priority:
-
ACT Numbers:
00362800
-
Regression Since:
Steps to reproduce:
Alfresco 5.0.x installation, change the following setting in
[tomcat]/webaps/share/log4j.properties:
log4j.logger.org.springframework.extensions.webscripts.ScriptDebugger=on
and try to log in Share
When loading the dashboard, the following error is logged (a few times per second):
Failed to load source from file:/home/bblommers/Servers/alfresco-5.0.0.2-OOTB/tomcat/webapps/share/WEB-INF/lib/lesscss-engine-1.5.0.jar!/META-INF/less.js: java.io.FileNotFoundException: /home/bblommers/Servers/alfresco-5.0.0.2-OOTB/tomcat/webapps/share/WEB-INF/lib/lesscss-engine-1.5.0.jar!/META-INF/less.js (No such file or directory)
And the page never loads.
Workaround:
it seems that during the bootstrap not all the dependencies are loaded when launching the JavaScript debugger from the log4. I have tried the standard method of on the API:
http://127.0.0.1:8080/share/page/api/javascript/debugger
from there it worked fine for me