Announcement

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

    _2.contains is not a function after migration from 4.1 to 5.1

    Entire log from the Developer Console:
    Code:
    11:07:16.422:WARN:Log:Specified ID: FooterDSFooterView collides with the ID for an existing SmartGWT component or object. The existing object will be destroyed and the ID bound to the new object.
    11:07:32.103:KPR6:WARN:Log:TypeError: _2.contains is not a function
    Stack from error.stack:
        Canvas._performActionOnValue() @ residentialmedication/sc/modules/ISC_Core.js:3139
        Canvas._getFieldValue() @ residentialmedication/sc/modules/ISC_Core.js:3160
        ListGrid._getEditValue() @ residentialmedication/sc/modules/ISC_Grids.js:2065
        ListGrid.dataChanged() @ residentialmedication/sc/modules/ISC_Grids.js:1063
        Class.invokeSuper() @ residentialmedication/sc/modules/ISC_Core.js:270
        Class.Super() @ residentialmedication/sc/modules/ISC_Core.js:262
        TreeGrid.dataChanged() @ residentialmedication/sc/modules/ISC_Grids.js:2986
        ListGrid._observeData/<() @ residentialmedication/sc/modules/ISC_Grids.js:1027
        observation() @ residentialmedication/sc/modules/ISC_Core.js:310
        ListGrid._saveLocally() @ residentialmedication/sc/modules/ISC_Grids.js:2240
        ListGrid.saveEditedValues() @ residentialmedication/sc/modules/ISC_Grids.js:2232
        ListGrid.saveEdits() @ residentialmedication/sc/modules/ISC_Grids.js:2209
        ListGrid._saveAndHideEditor() @ residentialmedication/sc/modules/ISC_Grids.js:2164
        ListGrid.cellEditEnd() @ residentialmedication/sc/modules/ISC_Grids.js:2128
        ListGrid.editorKeyPress() @ residentialmedication/sc/modules/ISC_Grids.js:897
        isc.A.editFormDefaults.itemKeyPress() @ residentialmedication/sc/modules/ISC_Grids.js:859
        FormItem._fireKeyPressHandlers() @ residentialmedication/sc/modules/ISC_Forms.js:1230
        FormItem.handleKeyPress() @ residentialmedication/sc/modules/ISC_Forms.js:1222
        Class.invokeSuper() @ residentialmedication/sc/modules/ISC_Core.js:270
        Class.Super() @ residentialmedication/sc/modules/ISC_Core.js:262
        TextItem.handleKeyPress() @ residentialmedication/sc/modules/ISC_Forms.js:1628
        [c]EventHandler.bubbleEvent() @ residentialmedication/sc/modules/ISC_Core.js:1631
        [c]EventHandler.handleKeyPress() @ residentialmedication/sc/modules/ISC_Core.js:1405
        EventHandler._handleNativeKeyPress() @ residentialmedication/sc/modules/ISC_Core.js:1402
        [c]EventHandler.dispatch() @ residentialmedication/sc/modules/ISC_Core.js:1709
        anonymous() @ residentialmedication/sc/modules/ISC_Core.js:55
    
    11:07:32.103:KPR6:WARN:Log:Uncaught JavaScript exception: TypeError: _2.contains is not a function in http://localhost:9580/eMedicClient/residentialmedication/sc/modules/ISC_Core.js, line 3139
    11:18:45.678:WARN:Log:Uncaught JavaScript exception: uncaught exception: ReferenceError: isc is not defined in , line 0
    Do you have any idea how I can find out where the problem lies?

    The application is running with the nightly build from the 12th of July.
    Last edited by stefan_berger; 14 Jul 2016, 03:51.

    #2
    In this thread, someone has reported a similar problem which we believe is due to using a specific field name in a ListGridRecord while not declaring it as an official ListGrid field. Are you using any ListGridRecord fields without declaring them as official ListGrid fields.

    Comment

    Working...
    X