Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
FS#181 - Property class not accessible in javascript
Attached to Project:
LMS
Opened by Guillaume (Guillaume) - Tuesday, 02 August 2011, 14:51 GMT
Last edited by Ferdinand (PaGaisu) - Friday, 08 March 2013, 14:10 GMT
Opened by Guillaume (Guillaume) - Tuesday, 02 August 2011, 14:51 GMT
Last edited by Ferdinand (PaGaisu) - Friday, 08 March 2013, 14:10 GMT
|
DetailsHello Bro,
I m unable to access the com.lobeo.lms.framework.Property class into my script. Could you add access to this class in javascript? Thanks, Guillaume 5002871 [Script-Thread-portal.js] INFO com.lobeo.lms.script.handler.ScriptContextFactory - Checking java class visibity of com.lobeo.lms.framework.Property 5002880 [Script-Thread-portal.js] ERROR com.lobeo.lms.script.handler.ScriptWrapper - Failure on a callback function org.mozilla.javascript.EvaluatorException: Access to Java class "com.lobeo.lms.framework.Property" is prohibited. (Library [libraries,array.library.js]#38) at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:945) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1001) at org.mozilla.javascript.Context.reportRuntimeError1(Context.java:964) at org.mozilla.javascript.JavaMembers.<init>(JavaMembers.java:68) at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:847) at org.mozilla.javascript.NativeJavaObject.initMembers(NativeJavaObject.java:90) at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:80) at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:70) at org.mozilla.javascript.WrapFactory.wrapAsJavaObject(WrapFactory.java:148) at org.mozilla.javascript.WrapFactory.wrap(WrapFactory.java:105) at com.lobeo.lms.script.ExtendedWrapFactory.wrap(ExtendedWrapFactory.java:59) at org.mozilla.javascript.NativeJavaArray.get(NativeJavaArray.java:114) at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2136) at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1475) at org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1459) at org.mozilla.javascript.gen.Library__libraries_array_library_js__119._c_anonymous_1(Library [libraries,array.library.js]:38) at org.mozilla.javascript.gen.Library__libraries_array_library_js__119.call(Library [libraries,array.library.js]) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86) at org.mozilla.javascript.gen.JS_Code__ScriptWrapper_file__G__Onyx4_Onyx4_20101128_bin____repo_modules_portal_portal_js__116._c_anonymous_2(JS Code [ScriptWrapper@file:/G:/Onyx4/Onyx4-20101128/bin/../repo-modules/portal/portal.js]:70) at org.mozilla.javascript.gen.JS_Code__ScriptWrapper_file__G__Onyx4_Onyx4_20101128_bin____repo_modules_portal_portal_js__116.call(JS Code [ScriptWrapper@file:/G:/Onyx4/Onyx4-20101128/bin/../repo-modules/portal/portal.js]) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178) at org.mozilla.javascript.gen.JS_Code__ScriptWrapper_file__G__Onyx4_Onyx4_20101128_bin____repo_modules_portal_portal_js__116.call(JS Code [ScriptWrapper@file:/G:/Onyx4/Onyx4-20101128/bin/../repo-modules/portal/portal.js]) at com.lobeo.lms.script.handler.ScriptWrapper.handleJSCallBlocking(ScriptWrapper.java:531) at com.lobeo.lms.script.handler.ScriptWrapper.run(ScriptWrapper.java:470) at java.lang.Thread.run(Unknown Source) |
This task depends upon

Please not that this bug blocks the Portal module.