DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31649>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31649 [Patch] Flowscript: Switch to re-implementation of official Rhino ------- Additional Comments From [EMAIL PROTECTED] 2004-10-15 17:46 ------- So far, I found two problems: 1.) samples/blocks/forms/form1.flow seems to be a problem with type recognition java.lang.RuntimeException: Incorrect value type for "account" (expected class java.lang.Long, got class java.lang.Integer. at org.apache.cocoon.forms.formmodel.Field.setValue(Field.java:132) at org.apache.cocoon.forms.flow.javascript.ScriptableWidget.put(ScriptableWidget.java:211) at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:1348) at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1439) at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1429) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2752) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2163) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:140) at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2171) at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:254) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:121) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:3025) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2163) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:140) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:301) ... 2.) samples/blocks/forms/carselector Seems to be a problem of event handling in Cocoon Forms which uses Rhino (but creating continuations is not allowed in form events) org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalStateException: Context.enter can not be used to recursively enter Context instances already associated with the current thread using Context.call(ContextAction) (resource://org/apache/cocoon/forms/flow/javascript/Form.js#127) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1763) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:191) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:197) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:3025) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2163) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:140) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:301) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2778) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2144) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:140) at org.mozilla.javascript.Context.call(Context.java:484) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1496) at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1467) at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:785) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:120)
