Announcement

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

    Error while tabbing in filterEditor fields

    SmartClient Version: SNAPSHOT_v12.1d_2019-03-20/AllModules Development Only (built 2019-03-20)

    Chrome on OSX

    Hello, please try this testcase:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:300, alternateRecordStyles:true,
        dataSource: worldDS,
        canRemoveRecords:true,
        fields:[
            {name:"countryCode", title:"Code", width:60},
            {name:"countryName", title:"Country"},
            {name:"capital", title:"Capital"},
            {name:"continent", title:"Continent"}
        ],
        autoFetchData: true,
        showFilterEditor: true,
        filterOnKeypress: true
    })
    It's the #liveFilter sample with the addition of canRemoveRecords:true

    then try to tab from the first column's filter field, to the last column and then tab out from the last column: wait couple seconds and you'll see this stacktrace:

    Code:
    *14:57:30.932:KDN8:WARN:Log:RangeError: Maximum call stack size exceeded
    Stack from error.stack:
        .debug__onRethrowError(<no args: exited>) on [Class Log] @ ISC_Core.js:1213:211
        [c]Class.fireCallback(<no args: exited>) on [Class TabIndexManager] @ ISC_Core.js:322:160
        [c]TabIndexManager.shiftFocus(<no args: exited>) on [Class TabIndexManager] @ ISC_Core.js:1908:93
        [c]TabIndexManager.shiftFocusAfterGroup(<no args: exited>) on [Class TabIndexManager] @ ISC_Core.js:1913:185
        RecordEditor.cellEditEnd(<no args: exited>) on [RecordEditor ID:countryList$31t] @ ISC_Grids.js:3450:186
        _3.tabGroupExit(<no args: exited>) on [TextItem ID:isc_DynamicForm_0_TextItem_isc_OID_8 name:$61b] @ ISC_Grids.js:2108:11
        [c]Class.fireCallback(_1=>Obj, _2=>"forward", _3=>Array[1], _4=>undef, _5=>undef) on [Class TabIndexManager] @ ISC_Core.js:322:104
        [c]TabIndexManager.shiftFocus(_1=>"isc_DynamicForm_0_TextItem_isc_OID_8", _2=>true, _3=>undef, _4=>undef) on [Class TabIndexManager] @ ISC_Core.js:1908:93
        [c]TabIndexManager.shiftFocusAfterGroup(_1=>"countryList$31t_body", _2=>true) on [Class TabIndexManager] @ ISC_Core.js:1913:185
        RecordEditor.cellEditEnd(_1=>"tab", _2=>undef) on [RecordEditor ID:countryList$31t] @ ISC_Grids.js:3450:186
        _3.tabGroupExit(_29=>true) on [TextItem ID:isc_DynamicForm_0_TextItem_isc_OID_8 name:$61b] @ ISC_Grids.js:2108:11 .......

    #2
    Hi Claudio
    Just a quick follow up to let you know we see the problem and do have a developer working on this. We'll let you know when we have a solution

    Regards
    Isomorphic Software

    Comment


      #3
      We've now made a change to address this issue
      Please try the next nightly build dated March 27 or above

      Regards
      Isomorphic Software

      Comment


        #4
        SmartClient Version: SNAPSHOT_v12.1d_2019-03-27/EVAL Development Only (expires 2019.05.26_07.12.07) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

        I can confirm it's fixed, thank you very much.

        Comment

        Working...
        X