SmartClient Version: v11.0p_2016-08-18/Enterprise Development Only (built 2016-08-18)
Chrome on OSX
Hello, I've got a strange error in one of my application, and now I've managed to reproduce it in the showcase.
Please modify the #inlineScriptValidation sample like this:
select an item, and then start typing in the quantity field. You'll see this error in the developer console:
Chrome on OSX
Hello, I've got a strange error in one of my application, and now I've managed to reproduce it in the showcase.
Please modify the #inlineScriptValidation sample like this:
Code:
isc.ValuesManager.create({ ID: "myVM", dataSource: "inlineScript_orderForm" }); isc.DynamicForm.create({ validateOnChange:true, valuesManager:"myVM", fields: [ { type:"header", defaultValue:"Add an item to your Order" }, { name:"itemId", title:"Item", editorType:"ComboBoxItem", optionDataSource:"StockItem", valueField:"id", displayField:"description" }, { name:"quantity", validateOnExit:true }, { name:"instructions", editorType:"TextAreaItem" }, { type:"submit", title:"Submit Order" } ] });
Code:
13:27:57.794:XRP1:WARN:Log:ReferenceError: success is not defined Stack from error.stack: eval(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_2] @ [no file]:4:21 thunk(<no args: exited>) on [ValuesManager ID:valuesmanager] @ ISC_Core.js:332:28 observation(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_2] @ ISC_Core.js:329:378 Canvas._handleServerValidationReply(<no args: exited>) on [DataSource ID:inlineScript_orderForm] @ ISC_Core.js:3747:4 [c]Class.fireCallback(_1=>Canvas.$376(), _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>[DataSource ID:inlineScript_orderForm], _5=>undef) on [Class DataSource] @ ISC_Core.js:298:104 Class.fireCallback(_1=>Canvas.$376(), _2=>"dsResponse,data,dsRequest", _3=>Array[3], _4=>undef) on [DataSource ID:inlineScript_orderForm] @ ISC_Core.js:366:302 DataSource.fireResponseCallbacks(_1=>Obj, _2=>Obj, _3=>Obj, _4=>Obj) on [DataSource ID:inlineScript_orderForm] @ ISC_DataBinding.js:757:89 DataSource._completeResponseProcessing(_1=>null, _2=>Obj, _3=>Obj, _4=>Obj, _5=>Obj) on [DataSource ID:inlineScript_orderForm] @ ISC_DataBinding.js:755:6 DataSource._handleSCServerReply(_1=>Obj, _2=>null, _3=>Obj) on [DataSource ID:inlineScript_orderForm] @ ISC_DataBinding.js:2571:107 [c]Class.fireCallback(<no args: recursion>) on [Class RPCManager] @ ISC_Core.js:298:104 Class.fireCallback(<no args: recursion>) on [RPCManager ID:builtinApplication] @ ISC_Core.js:366:302 [c]RPCManager.fireReplyCallback(_1=>Obj, _2=>Obj, _3=>Obj, _4=>null) on [Class RPCManager] @ ISC_DataBinding.js:1745:77 [c]RPCManager.fireReplyCallbacks(_1=>Obj, _2=>Obj) on [Class RPCManager] @ ISC_DataBinding.js:1752:120 [c]RPCManager.performOperationReply(_1=>Obj, _2=>Obj) on [Class RPCManager] @ ISC_DataBinding.js:1743:13 RPCManager._performTransactionReply(_1=>5) on [Class RPCManager] @ ISC_DataBinding.js:1723:6 [c]RPCManager.performTransactionReply(_1=>5, _2=>"//isc_RPCResponseStart-->[{affectedRows:..."[161], _3=>undef) on [Class RPCManager] @ ISC_DataBinding.js:1638:20 eval(transactionNum=>5, results=>[object XMLHttpRequest], wd=>undef) @ [no file]:3:16 [c]Class.fireCallback(<no args: recursion>) on [Class Comm] @ ISC_Core.js:298:104 [c]Comm.performXmlTransactionReply(_1=>5, _2=>[object XMLHttpRequest]) on [Class Comm] @ ISC_Core.js:1400:27 eval(xmlHttpRequest=>[object XMLHttpRequest]) @ [no file]:3:10 [c]Class.fireCallback(<no args: recursion>) on [Class Class] @ ISC_Core.js:298:104 Comm._fireXMLCallback(_1=>[object XMLHttpRequest], _2=>"isc.Comm.performXmlTransactionReply(5, x..."[54], _3=>undef) on [Class Comm] @ ISC_Core.js:1379:409 XMLHttpRequest._15() @ ISC_Core.js:1387:367
Comment