Announcement

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

    12.0p Sample exception TypeError: _4.getFieldDefaultOperator is not a function

    Hi Isomorphic,

    please see this sample (v12.0p_2018-12-22) where there is a Developer Console exception on DataSource change. Tested with latest Chromium 71.

    This one is perhaps in the same area.

    Code:
    *11:27:53.063:XRP6:WARN:Log:New Class ID: 'CompoundEditor' collides with ID of existing Class object '[DataSource ID:CompoundEditor]'.  Existing object will be replaced.
    This conflict would be avoided by disabling ISC Simple Names mode.  See documentation for further information.
    11:28:00.605:MUP6:WARN:Log:TypeError: _4.getFieldDefaultOperator is not a function
    Stack from error.stack:
        FormItem.getDefaultOperator(<no args: exited>) on [TextItem ID:isc_TextItem_2 name:countryCode] @ ISC_Forms.js:1230:80
        FormItem.getOperator(<no args: exited>) on [TextItem ID:isc_TextItem_2 name:countryCode] @ ISC_Forms.js:1226:169
        FormItem.hasAdvancedCriteria(<no args: exited>) on [TextItem ID:isc_TextItem_2 name:countryCode] @ ISC_Forms.js:1225:148
        Arra.callMethod(<no args: exited>) @ ISC_Core.js:534:183
        DynamicForm._hasAdvancedCriteria(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:331:329
        DynamicForm.removeItems(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:306:311
        DynamicForm._setItems(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:276:318
        DynamicForm.setItems(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:276:90
        DynamicForm.setFields(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:277:221
        Canvas.setDataSource(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Core.js:3995:24
        [c]Class.invokeSuper(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Core.js:315:93
        [c]Class.Super(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Core.js:307:170
        DynamicForm.setDataSource(<no args: exited>) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:326:661
        _3.setDataSource(<no args: exited>) on [CompoundEditor ID:compoundEditor] @ [no file]:303:19
        _3.change(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ [no file]:321:33
        FormItem.handleChange(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ ISC_Forms.js:1301:62
        FormItem.storeValue(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ ISC_Forms.js:1210:13
        FormItem._updateValue(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ ISC_Forms.js:1208:68
        SelectItem.updateValue(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ ISC_Forms.js:2305:46
        SelectItem.changeToValue(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ ISC_Forms.js:2296:91
        SelectItem.pickValue(<no args: exited>) on [SelectItem ID:isc_SelectItem_2 name:dataSource] @ ISC_Forms.js:2340:6
        _3.itemClick(<no args: exited>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Forms.js:2019:4
        _3.recordClick(<no args: exited>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Forms.js:2012:141
        ListGrid.rowClick(<no args: exited>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Grids.js:1656:22
        [c]Class.invokeSuper(<no args: exited>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Core.js:315:93
        [c]Class.Super(<no args: exited>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Core.js:307:170
        _3.rowClick(<no args: exited>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Forms.js:2007:196
        _3.eval(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ [no file]:4:115
        GridRenderer._rowClick(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ ISC_Grids.js:585:183
        [c]Class.invokeSuper(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ ISC_Core.js:315:93
        [c]Class.Super(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ ISC_Core.js:307:170
        GridBody._rowClick(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ ISC_Grids.js:654:76
        GridRenderer.click(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ ISC_Grids.js:583:167
        Canvas.handleClick(<no args: exited>) on [GridBody ID:isc_PickListMenu_0_body] @ ISC_Core.js:3524:400
        [c]EventHandler.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:2146:89
        [c]EventHandler.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1980:50
        EventHandler._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1964:11
        [c]EventHandler.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1955:57
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:2233:108
        HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123
    Best regards
    Blama
    Last edited by Blama; 24 Dec 2018, 02:32. Reason: Added link to other sample

    #2
    This one's been fixed for builds dated December 26 and later

    Comment


      #3
      Hi Isomorphic,

      I can see this one is fixed using v12.0p_2018-12-26.

      Best regards
      Blama

      Comment

      Working...
      X