Announcement

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

    Getting RuleScope Component not found on PickList

    Hi,

    I am currently using Smartgwt 13.0-p20230106 version.

    We have started facing a new issue when opening dropdowns. We have a few dropdown fields in a list grid. For 1st row, all drop-downs work fine. But as soon 2nd-row fields are clicked, we get the below exception in the console and also pop on the screen.

    Code:
    ERROR:Button:isc_Button_107:ruleScope component could not be found for isc_PickListMenu_2. This component will not be part of ruleScope at this time.
    Stack trace:
    
        Canvas.computeRuleScope() on [Button ID:isc_Button_107] @ ISC_Core.js:4253:229
        Canvas.draw(_1=>undef) on [Button ID:isc_Button_107] @ ISC_Core.js:3173:6
        StatefulCanvas.draw(_1=>undef, _2=>undef, _3=>undef) on [Button ID:isc_Button_107] @ ISC_Foundation.js:216:431
        Layout.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef) on [Toolbar ID:isc_Toolbar_5] @ ISC_Foundation.js:359:205
        Layout.drawChildren() on [Toolbar ID:isc_Toolbar_5] @ ISC_Foundation.js:271:653
        Canvas.draw(<no args: recursion>) on [Toolbar ID:isc_Toolbar_5] @ ISC_Core.js:3181:253
        [c]Class.invokeSuper(_1=>[Class Toolbar], _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef) on [Toolbar ID:isc_Toolbar_5] @ ISC_Core.js:304:162
        Toolbar.draw(_1=>undef, _2=>undef, _3=>undef, _4=>undef) on [Toolbar ID:isc_Toolbar_5] @ ISC_Foundation.js:665:493
        [c]Class.invokeSuper(<no args: recursion>) on [Toolbar ID:isc_Toolbar_5] @ ISC_Core.js:304:93
        [c]Class.Super(_1=>"draw", _2=>[object Arguments], _3=>undef) on [Toolbar ID:isc_Toolbar_5] @ ISC_Core.js:296:170
        _3.draw() on [Toolbar ID:isc_Toolbar_5] @ ISC_Grids.js:2904:6
        ListGrid._updateFieldWidths(_1=>"initial draw", _2=>undef, _3=>undef) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Grids.js:1459:86
        ListGrid.layoutChildren(_1=>"initial draw", _2=>undef, _3=>undef) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Grids.js:1430:66
        Layout.drawChildren(<no args: recursion>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Foundation.js:271:653
        Canvas.draw(<no args: recursion>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Core.js:3181:253
        [c]Class.invokeSuper(<no args: recursion>) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Core.js:304:162
        ListGrid.draw(_1=>undef, _2=>undef, _3=>undef, _4=>undef) on [PickListMenu ID:isc_PickListMenu_0] @ ISC_Grids.js:1515:621
        _3.placePickList() on [ComboBoxItem ID:isc_ComboBoxItem_0 name:uom] @ ISC_Forms.js:2478:243
        _3.$19l() on [ComboBoxItem ID:isc_ComboBoxItem_0 name:uom] @ ISC_Forms.js:2334:6
        _3.showPickList(_1=>undef, _2=>undef) on [ComboBoxItem ID:isc_ComboBoxItem_0 name:uom] @ ISC_Forms.js:2333:1055
        ComboBoxItem.showPicker() on [ComboBoxItem ID:isc_ComboBoxItem_0 name:uom] @ ISC_Forms.js:3035:138
        FormItem.pickerIconClick() on [ComboBoxItem ID:isc_ComboBoxItem_0 name:uom] @ ISC_Forms.js:1560:6
        FormItem._iconClick(_1=>"picker") on [ComboBoxItem ID:isc_ComboBoxItem_0 name:uom] @ ISC_Forms.js:1557:49
        DynamicForm.handleItemClick(_1=>Obj, _2=>Obj) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:766:53
        DynamicForm.handleClick(_1=>Obj, _2=>undef) on [DynamicForm ID:isc_DynamicForm_1] @ ISC_Forms.js:764:508
        [c]EventHandler.bubbleEvent(_1=>[DynamicForm ID:isc_DynamicForm_1], _2=>"click", _3=>undef, _4=>undef, _5=>undef) on [Class EventHandler] @ ISC_Core.js:2513:89
        [c]EventHandler.handleClick(_1=>[DynamicForm ID:isc_DynamicForm_1], _2=>undef) on [Class EventHandler] @ ISC_Core.js:2321:50
        EventHandler._handleMouseUp(_1=>[object MouseEvent], _2=>undef) on [Class EventHandler] @ ISC_Core.js:2303:11
        [c]EventHandler.handleMouseUp(_1=>[object MouseEvent], _2=>undef) on [Class EventHandler] @ ISC_Core.js:2294:57
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:2612:122
        HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123
    console.<computed>   dd.js:2
    isc.B.push.isc.A.addToMasterLog   ISC_Core.js:1319
    observation                                            ISC_Core.js:348
    isc_c_Log_addLogMessage           ISC_Core.js:1317
    isc_c_Log_log                                     ISC_Core.js:1310
    logMessage                                             ISC_Core.js:1299
    logError                                                    ISC_Core.js:1299
    isc_Canvas_computeRuleScope   ISC_Core.js:4253
    isc_Canvas_draw                                ISC_Core.js:3173
    isc_StatefulCanvas_draw                ISC_Foundation.js:216
    isc_Layout_layoutChildren            ISC_Foundation.js:359
    isc_Layout_drawChildren               ISC_Foundation.js:271
    isc_Canvas_draw                                ISC_Core.js:3181
    isc_c_Class_invokeSuper                ISC_Core.js:304
    isc_Toolbar_draw                               ISC_Foundation.js:665
    isc_c_Class_invokeSuper                ISC_Core.js:304
    isc_c                                                          ISC_Grids.js:2904
    isc_ListGrid__updateFieldWidths ISC_Grids.js:1459
    isc_ListGrid_layoutChildren           ISC_Grids.js:1430
    isc_Layout_drawChildren               ISC_Foundation.js:271
    isc_Canvas_draw                                ISC_Core.js:3181
    isc_c_Class_invokeSuper                ISC_Core.js:304
    isc_ListGrid_draw                              ISC_Grids.js:1515
    placePickList                                         ISC_Forms.js:2478
    $19l                                                             ISC_Forms.js:2334
    showPickList                                         ISC_Forms.js:2333
    isc_ComboBoxItem_showPicker ISC_Forms.js:3035
    isc_FormItem_pickerIconClick    ISC_Forms.js:1560
    isc_FormItem__iconClick               ISC_Forms.js:1557
    isc_DynamicForm_handleItemClick ISC_Forms.js:766
    isc_DynamicForm_handleClick    ISC_Forms.js:764
    isc_c_EventHandler_bubbleEvent ISC_Core.js:2513
    isc_c_EventHandler_handleClick ISC_Core.js:2321
    isc_c_EventHandler__handleMouseUp ISC_Core.js:2303
    isc_c_EventHandler_handleMouseUp ISC_Core.js:2294
    isc_c_EventHandler_dispatch          ISC_Core.js:2612
    eval                                                                 VM153:3]



    Attached Files
    Last edited by paggarwal; 17 Jan 2023, 21:43.

    #2
    Thanks for the report - we've made a change which should address this issue - however, if you still see problems, please show some code that we can run to debug your case. You can try out the fix as of today's builds, dated January 20 or later.

    Note that, even in the right circumstances, this log should not have been an ERROR type, which implies a serious problem - we've demoted it to INFO level.

    Comment


      #3
      Thanks, its working now.

      Comment

      Working...
      X