Fixed: Error in GetLocaleListTests.java
(OFBIZ-10641) A test error related to GetLocaleListTests.java seems to happen only on a fresh trunk install when running unit tests. It's no stopping tests. I'm not sure yet if R17 is concerned. I did not try, but will 1st confirm with this commit with trunk demo error.loç Mathieu suggested to replace the location component://base/config/GroovyInit.groovy with ofbizhome://framework/base/config/GroovyInit.groovy because GroovyUtil [should not] depend on the component container in the 1st place, and it seems to work. Thanks: Mathieu for the idea. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845933 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -63,7 +63,7 @@ public class GroovyUtil {
|
||||
* the workaround is to execute at startup a script containing the @BaseScript annotation.
|
||||
*/
|
||||
try {
|
||||
GroovyUtil.runScriptAtLocation("component://base/config/GroovyInit.groovy", null, null);
|
||||
GroovyUtil.runScriptAtLocation("ofbizhome://framework/base/config/GroovyInit.groovy", null, null);
|
||||
} catch (Exception e) {
|
||||
Debug.logWarning("The following error occurred during the initialization of Groovy: " + e.getMessage(), module);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user