Announcement

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

    visual builder doesn't show inherited DataSource fields when adding fk

    SmartClient Version: v11.0p_2016-06-15/EVAL Development Only (expires 2016.08.14_11.37.24) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    Chrome on OSX

    Hello, I just noticed that the visual builder DataSource Editor doesn't show inherited DataSource fields when I try to add a foreign key relation, as in the screenshot.
    Click image for larger version

Name:	IMG_2016-06-18 21:59:51.jpg
Views:	140
Size:	60.7 KB
ID:	238705

    JPC_ALIQUOTA_IVA is a DataSource which inherits all of its fields from JPC_ALIQUOTA_IVA_BASE. I've added both of them in the dataSources tab. But when I select JPC_ALIQUOTA_IVA as in the screenshot there's this error in the developer console:

    Code:
    21:54:40.548:XRP7:WARN:DataSource:JPC_ALIQUOTA_IVA:DataSource JPC_ALIQUOTA_IVA inheritsFrom JPC_ALIQUOTA_IVA_BASE, but there is no DataSource of that name currently loaded. Ignoring the inheritsFrom declaration.
    21:54:40.553:XRP7:WARN:Log:TypeError: Cannot read property 'getLength' of null
    Stack from error.stack:
        DataSourceFieldPicker.handleLiveDs(<no args: exited>) on [DataSourceFieldPicker ID:isc_DataSourceEditor_0_fieldEditor_form_StaticTextItem_picker] @ ISC_DataBinding.js:3607:6
        <anonymous>(<no args: exited>) on [RPCManager ID:builtinApplication] @ ISC_DataBinding.js:3610:449
        [c]Class.fireCallback(_1=>anonymous(), _2=>Array[1], _3=>Array[1], _4=>[RPCManager ID:builtinApplication], _5=>undef) on [Class RPCManager] @ ISC_Core.js:305:104
        Class.fireCallback(_1=>anonymous(), _2=>Array[1], _3=>Array[1], _4=>undef) on [RPCManager ID:builtinApplication] @ ISC_Core.js:373:302
        actionURL(_10=>Obj, _11=>"                                        ..."[2499], _12=>Obj) on [RPCManager ID:builtinApplication] @ ISC_DataBinding.js:322:39
        [c]Class.fireCallback(<no args: recursion>)  on [Class RPCManager] @ ISC_Core.js:305:104
        Class.fireCallback(<no args: recursion>)  on [RPCManager ID:builtinApplication] @ ISC_Core.js:373:302
        [c]RPCManager.fireReplyCallback(_1=>callback(), _2=>Obj, _3=>Obj, _4=>"                                        ..."[2499]) on [Class RPCManager] @ ISC_DataBinding.js:1746:77
        [c]RPCManager.fireReplyCallbacks(_1=>Obj, _2=>Obj) on [Class RPCManager] @ ISC_DataBinding.js:1753:120
        [c]RPCManager.performOperationReply(_1=>Obj, _2=>Obj) on [Class RPCManager] @ ISC_DataBinding.js:1744:13
        RPCManager._performTransactionReply(_1=>12) on [Class RPCManager] @ ISC_DataBinding.js:1724:6
        [c]RPCManager.performTransactionReply(_1=>12, _2=>"                                        ..."[2499], _3=>undef) on [Class RPCManager] @ ISC_DataBinding.js:1639:20
        eval(transactionNum=>12, results=>[object XMLHttpRequest], wd=>undef) @ [no file]:3:16
        [c]Class.fireCallback(<no args: recursion>)  on [Class Comm] @ ISC_Core.js:305:104
        [c]Comm.performXmlTransactionReply(_1=>12, _2=>[object XMLHttpRequest]) on [Class Comm] @ ISC_Core.js:1406:27
        eval(xmlHttpRequest=>[object XMLHttpRequest]) @ [no file]:3:10
        [c]Class.fireCallback(<no args: recursion>)  on [Class Class] @ ISC_Core.js:305:104
        Comm._fireXMLCallback(_1=>[object XMLHttpRequest], _2=>"isc.Comm.performXmlTransactionReply(12, ..."[55], _3=>undef) on [Class Comm] @ ISC_Core.js:1385:409
        XMLHttpRequest._15() @ ISC_Core.js:1393:367
    Last edited by claudiobosticco; 18 Jun 2016, 12:02.

    #2
    A fix for this problem has been committed today, you should see the issue resolved with tomorrow's 11.1d builds (those dated June 30th)

    Comment


      #3
      thanks, will try but...no fix for 11.0 builds?

      Comment


        #4
        well, it seems that it's not fixed in 11.0 (v11.0p_2016-07-01), and there is no 11.1 build after that of 2016-06-24

        Comment


          #5
          I can confirm it's fixed in SmartClient Version: v11.0p_2016-07-12/EVAL Development Only (expires 2016.09.10_08.42.06) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

          Comment


            #6
            That must be a coincidence because we had not ported these changes to 11.0 on July 13th. However, we have now done so, so this is issue is fixed in 11.0p as well as 11.1, in builds as of tomorrow

            Regards,
            Isomorphic Support

            Comment

            Working...
            X