Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    JS error in sample "TypeError: isc.observe is not a function"

    Hi Isomorphic,

    I browsed the showcase. On opening this sample (v12.0p_2020-03-28, Chromium 80 / Win 10) I get this error:
    Code:
    15:29:38.546:XRP8:WARN:Log:TypeError: isc.observe is not a function
    Stack from error.stack:
        eval(<no args: exited>) @ [no file]:125:9
        [c]Class.fireCallback(_1=>anonymous(), _2=>"globals,error,idsToFree", _3=>Array[3], _4=>undef, _5=>undef) on [Class RPCManager] @ ISC_Core.js:326:104
        <anonymous>(_3=>[VLayout ID:isc_VLayout_0], _11=>Obj, _12=>Obj) @ ISC_DataBinding.js:1368:161
        [c]Class.fireCallback(<no args: recursion>)  on [Class RPCManager] @ ISC_Core.js:326:104
        <anonymous>(_5=>Obj, _17=>undef, _11=>Obj) @ ISC_DataBinding.js:1372:12
        [c]Class.fireCallback(<no args: recursion>)  on [Class Class] @ ISC_Core.js:326:104
        <anonymous>(_11=>Obj, _12=>undef, _13=>Obj) @ ISC_Core.js:351:11
        [c]Class.fireCallback(<no args: recursion>)  on [Class Class] @ ISC_Core.js:326:104
        [c]Class.endGlobalsCapture(_1=>undef, _2=>undef, _3=>undef) on [Class Class] @ ISC_Core.js:345:184
        [c]Class.globalEvalWithCapture(_1=>"                                        ..."[3407], _2=>callback(), _3=>null, _4=>false) on [Class Class] @ ISC_Core.js:339:13
        [c]Class.globalEvalAndRestore(_1=>"                                        ..."[3407], _2=>Array[0], _3=>callback(), _4=>null, _5=>false, _6=>true) on [Class Class] @ ISC_Core.js:348:167
        RPCManager._makeScreen(_1=>Obj, _2=>"                                        ..."[3407], _3=>Obj, _4=>callback(), _5=>Array[0]) on [Class RPCManager] @ ISC_DataBinding.js:1370:684
        _3.callback(_8=>Obj, _9=>"                                        ..."[3407], _10=>Obj) on [RPCManager ID:builtinApplication] @ ISC_DataBinding.js:1368:121
        [c]Class.fireCallback(<no args: recursion>)  on [Class RPCManager] @ ISC_Core.js:326:104
        Class.fireCallback(_1=>callback(), _2=>"rpcResponse,data,rpcRequest", _3=>Array[3], _4=>undef) on [RPCManager ID:builtinApplication] @ ISC_Core.js:399:302
        [c]RPCManager.fireReplyCallback(_1=>callback(), _2=>Obj, _3=>Obj, _4=>"                                        ..."[3407]) on [Class RPCManager] @ ISC_DataBinding.js:1347:233
        [c]RPCManager.fireReplyCallbacks(_1=>Obj, _2=>Obj) on [Class RPCManager] @ ISC_DataBinding.js:1350:120
        [c]RPCManager.performOperationReply(_1=>Obj, _2=>Obj) on [Class RPCManager] @ ISC_DataBinding.js:1347:13
        RPCManager._performTransactionReply(_1=>1) on [Class RPCManager] @ ISC_DataBinding.js:1337:6
        [c]RPCManager.performTransactionReply(_1=>1, _2=>"                                        ..."[3407], _3=>undef) on [Class RPCManager] @ ISC_DataBinding.js:1295:20
        eval(transactionNum=>1, results=>[object XMLHttpRequest], wd=>undef) @ [no file]:3:16
        [c]Class.fireCallback(<no args: recursion>)  on [Class Comm] @ ISC_Core.js:326:104
        [c]Comm.performXmlTransactionReply(_1=>1, _2=>[object XMLHttpRequest]) on [Class Comm] @ ISC_Core.js:1787:27
        eval(xmlHttpRequest=>[object XMLHttpRequest]) @ [no file]:3:10
        [c]Class.fireCallback(<no args: recursion>)  on [Class Class] @ ISC_Core.js:326:104
        Comm._fireXMLCallback(_1=>[object XMLHttpRequest], _2=>"isc.Comm.performXmlTransactionReply(1, x..."[54], _3=>undef) on [Class Comm] @ ISC_Core.js:1766:440
        XMLHttpRequest._15() @ ISC_Core.js:1774:367
    Best regards
    Blama

    #2
    Thanks for the notification. This is an issue that should only effect this sample (a problem in the sample code rather than a framework issue).
    We'll get it resolved for the next nightly build

    Regards
    Isomorphic Software

    Comment


      #3
      Hi Isomorphic,

      using v12.0p_2020-03-31 I can see this is changed.

      Thank you & Best regards
      Blama

      Comment

      Working...
      X