Announcement

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

  • ListGrid double click record throwing error

    Hello,

    I am getting a stack trace when trying to double click a record on a ListGrid. Single clicking works, but double click seems to break it for some reason. Does anyone have any insight into what the problem is?

    TypeError: _2.contains is not a functionISC_Forms.js:3296:976
    isc_ImageItem__formatStockImageURL ISC_Forms.js:3296
    isc_ImageItem_formatEditorValue ISC_Forms.js:3297
    isc_FormItem__formatDataType ISC_Forms.js:1061
    isc_FormItem_mapValueToDisplay ISC_Forms.js:1054
    isc_TextItem_mapValueToDisplay ISC_Forms.js:1899
    isc_FormItem__getDisplayValue ISC_Forms.js:1050
    isc_FormItem__showValue ISC_Forms.js:1104
    isc_c_Class_invokeSuper ISC_Core.js:294
    isc_c_Class_Super ISC_Core.js:286
    isc_TextItem__showValue ISC_Forms.js:1910
    isc_FormItem_setValue ISC_Forms.js:1100
    isc_c_Class_invokeSuper ISC_Core.js:294
    isc_TextItem_setValue ISC_Forms.js:1907
    isc_c_Class_invokeSuper ISC_Core.js:294
    isc_ImageItem_setValue ISC_Forms.js:3302
    isc_DynamicForm_setItemValues ISC_Forms.js:419
    isc_DynamicForm_setValues ISC_Forms.js:305
    isc_ListGrid_makeEditForm ISC_Grids.js:2044
    isc_ListGrid__canFocusInEditor ISC_Grids.js:2326
    isc_ListGrid_findNextEditCell ISC_Grids.js:2319
    isc_ListGrid_handleEditCellEvent ISC_Grids.js:1940
    isc_ListGrid_rowDoubleClick ISC_Grids.js:1711
    anonymous ISC_Core.js line 64 > Function:4
    isc_GridRenderer_doubleClick ISC_Grids.js:587
    isc_Canvas_handleDoubleClick ISC_Core.js:3744
    isc_c_EventHandler_bubbleEvent ISC_Core.js:2359
    isc_c_EventHandler_handleClick ISC_Core.js:2194
    isc_c_EventHandler__handleMouseUp ISC_Core.js:2178
    isc_c_EventHandler_handleMouseUp ISC_Core.js:2169
    isc_c_EventHandler_dispatch ISC_Core.js:2446
    anonymous ISC_Core.js line 64 > Function:3



    Thanks,
    Pablo

  • #2
    You didn't mention your product version or build - we always need that information.

    However, in this case, it looks like you're on version 12.1, with a build from a month or so ago - this seems obvious because there is no framework widget called ImageItem, which is shown in your log.,

    That widget existed only for a few days some weeks ago, after which it was renamed to ImageChooserItem, on account of exactly the type of problem you are seeing.

    So you just need to update to the latest build. Incidentally, you should always test against the latest build before reporting issues.

    Comment

    Working...
    X