Announcement

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

    SGWT3.0 - TreeGrid filtering with keepInParents and showFilterEditor enabled

    SmartGWT 3.0 - Firefox/Chrome
    SmartClient 8.2

    If showFilterEditor and keepParentsOnFilter are true, filtering with the FilterEditor causes the TreeGrid to "hang".

    One way to reproduce the problem:
    Using http://www.smartclient.com/#_Trees_Filtering

    1) Modify filtering.js and add showFilterEditor:true
    Code:
    dataFetchMode:"local",
    showFilterEditor:true,
    loadDataOnDemand:false,
    2) click "Try it"
    3) Check the "Keep Parents" checkbox.
    4) Enter text into filter.
    5) Press the filter button.
    -------------

    In Dev mode on my system, I receive the error listed below. Please let me know if a test case is needed.

    11:56:45.235:TMR4:WARN:Log:TypeError: _9.isMultiDSTree is not a function
    ResultTree.loadChildrenReply(_1=>{Obj}, _2=>[object Array], _3=>{Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:1596
    [c]Class.fireCallback(_1=>{Obj}, _2=>"dsResponse,data,dsRequest", _3=>[object Array], _4=>{Obj}, _5=>undef) @ emdwh/sc/modules/ISC_Core.js:324
    [c]Class.fireCallback(_1=>{Obj}, _2=>"dsResponse,data,dsRequest", _3=>[object Array]) @ emdwh/sc/modules/ISC_Core.js:422
    DataSource.fireResponseCallbacks({Obj}, {Obj}, {Obj}, {Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:585
    DataSource._completeResponseProcessing({Obj}, {Obj}, {Obj}, {Obj}, {Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:582
    DataSource._handleClientOnlyReply({Obj}, {Obj}, {Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:432
    [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array], _4=>{Obj}, _5=>undef) @ emdwh/sc/modules/ISC_Core.js:324
    [c]Class.fireCallback(_1=>{Obj}, _2=>"rpcResponse,data,rpcRequest", _3=>[object Array]) @ emdwh/sc/modules/ISC_Core.js:422
    anonymous(callback=>{Obj}, request=>{Obj}, response=>{Obj}, data=>{Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:1312
    unnamed({Obj}, {Obj}, {Obj}, {Obj}) @ :186
    [c]RPCManager.fireReplyCallbacks(_1=>{Obj}, _2=>{Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:1317
    [c]RPCManager.performOperationReply(_1=>{Obj}, _2=>{Obj}) @ emdwh/sc/modules/ISC_DataBinding.js:1311
    RPCManager._performTransactionReply(15) @ emdwh/sc/modules/ISC_DataBinding.js:1305
    [c]Class.fireCallback(_1=>{Obj}, _2=>undef, _3=>[object Array], _4=>{Obj}, _5=>true) @ emdwh/sc/modules/ISC_Core.js:324
    Timer._fireTimeout("$ir210") @ emdwh/sc/modules/ISC_Core.js:1335
    unnamed() @ emdwh/sc/modules/ISC_Core.js:1330
    unnamed() @

    #2
    Curious to know if this is a confirmed issue or not. If so, any chance a fix is planned for the near future?
    Thanks

    Comment


      #3
      Oops, sorry for the lack of update. This is fixed in 8.2.x and 8.x nightlies - grab one from SmartClient.com/builds

      Comment


        #4
        Sorry - I believe this problem still exists.
        I downloaded and used SmartClient_SC_SNAPSHOT-2011-12-15_Evaluation to test. (using same steps as in my original post, Firefox 3.6.24)

        Stack
        Code:
        14:09:38.916:XRP9:WARN:Log:TypeError: _9.isMultiDSTree is not a function
            ResultTree.loadChildrenReply(_1=>{Obj},  _2=>[object Array],  _3=>{Obj})
            [c]Class.fireCallback(_1=>{Obj},  _2=>"dsResponse,data,dsRequest",  _3=>[object Array],  _4=>{Obj},  _5=>undef)
            [c]Class.fireCallback(_1=>{Obj},  _2=>"dsResponse,data,dsRequest",  _3=>[object Array])
            DataSource.fireResponseCallbacks({Obj}, {Obj}, {Obj}, {Obj})
            DataSource._completeResponseProcessing([object Array], {Obj}, {Obj}, {Obj}, {Obj})
            DataSource._handleSCServerReply({Obj}, [object Array], {Obj})
            [c]Class.fireCallback(_1=>{Obj},  _2=>"rpcResponse,data,rpcRequest",  _3=>[object Array],  _4=>{Obj},  _5=>undef)
            [c]Class.fireCallback(_1=>{Obj},  _2=>"rpcResponse,data,rpcRequest",  _3=>[object Array])
            [c]RPCManager.fireReplyCallback(_1=>{Obj},  _2=>{Obj},  _3=>{Obj},  _4=>[object Array])
            [c]RPCManager.fireReplyCallbacks(_1=>{Obj},  _2=>{Obj})
            [c]RPCManager.performOperationReply(_1=>{Obj},  _2=>{Obj})
            RPCManager._performTransactionReply(3)
            [c]RPCManager.performTransactionReply(_1=>3,  _2=>"//isc_RPCResponseStart-->[{data:[{Name:..."[ 27342],  _3=>undef)
            anonymous(3, [object XMLHttpRequest])
            [c]Class.fireCallback(_1=>"isc.RPCManager.performTransactionReply(..."[ 67],  _2=>"transactionNum,results,wd",  _3=>[object Array])
            [c]Comm.performXmlTransactionReply(_1=>3,  _2=>[object XMLHttpRequest])
            anonymous([object XMLHttpRequest])
            [c]Class.fireCallback(_1=>"isc.Comm.performXmlTransactionReply(3, ..."[ 56],  _2=>"xmlHttpRequest",  _3=>[object Array],  _4=>[object XPCCrossOriginWrapper],  _5=>true)
            Comm._fireXMLCallback([object XMLHttpRequest], "isc.Comm.performXmlTransactionReply(3, ..."[ 56])
            unnamed([object Event])
            unnamed() @
        Last edited by lextra; 15 Dec 2011, 06:23.

        Comment


          #5
          From what branch (see above for the fixed branches).

          Also, beside to clear your browser cache before retesting.

          Comment


            #6
            Just redownloaded SmartClient_SC_SNAPSHOT-2011-12-15_Evaluation.zip 8.2.x nightly.
            Tried with Chrome, Firefox and IE6. Cleared cache numerous times.
            ie ... closed all tabs, opened blank tab, cleared cache. Developer tools in Chrome showed no cache( cleared mutliple times anyway)
            Same stack trace as above.

            And I now realize that it isn't necessary to check "Keep parents" to create the problem. Setting showFilterEditor:true is enough.

            Cheers

            Comment


              #7
              The fix hadn't actually been ported to 8.2.x - it's there now.

              Comment


                #8
                I am going to assume that you mean the fix will be available tomorrow as the problem still exists SmartClient_SC_SNAPSHOT-2011-12-16_Evaluation (8.2.x)
                I appreciate your assistance.

                Comment

                Working...
                X