Hi,
SmartGWT version being used is:
12.1-p20200824
I am facing maximum call stack size exceeded issue when startEditingNew(newValues) method of ListGrid.class is being used as below:
ListGrid listgrid = new ListGrid();
values.put("company", "smartGWT");
listgrid.startEditingNew(values);
I am able to see the compnay column loaded with smartGWT value and after populating other columns, when enter is clicked below error appears in console and there is no add RPC for this list grid is tracked.
ISC_Core.js:2529 Uncaught RangeError: Maximum call stack size exceeded
at String.indexOf (<anonymous>)
at Object.contains (ISC_Core.js:1134)
at String.isc_Strin_contains [as contains] (ISC_Core.js:1115)
at Object.isc_c_Canvas__performActionOnValue [as $833] (ISC_Core.js:4255)
at Object.isc_c_Canvas__getFieldValue [as $70o] (ISC_Core.js:4277)
at _3.isc_ListGrid__getEditValue [as $30y] (ISC_Grids.js:2262)
at _3.isc_ListGrid_storeUpdatedEditorValue [as storeUpdatedEditorValue] (ISC_Grids.js:2337)
at _3.isc_ListGrid_getEditValues [as getEditValues] (ISC_Grids.js:2206)
at _3.isc_ListGrid_validateRecord [as validateRecord] (ISC_Grids.js:2496)
at _3.isc_ListGrid_validateRow [as validateRow] (ISC_Grids.js:2495)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2410)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2426)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
SmartGWT version being used is:
12.1-p20200824
I am facing maximum call stack size exceeded issue when startEditingNew(newValues) method of ListGrid.class is being used as below:
ListGrid listgrid = new ListGrid();
values.put("company", "smartGWT");
listgrid.startEditingNew(values);
I am able to see the compnay column loaded with smartGWT value and after populating other columns, when enter is clicked below error appears in console and there is no add RPC for this list grid is tracked.
ISC_Core.js:2529 Uncaught RangeError: Maximum call stack size exceeded
at String.indexOf (<anonymous>)
at Object.contains (ISC_Core.js:1134)
at String.isc_Strin_contains [as contains] (ISC_Core.js:1115)
at Object.isc_c_Canvas__performActionOnValue [as $833] (ISC_Core.js:4255)
at Object.isc_c_Canvas__getFieldValue [as $70o] (ISC_Core.js:4277)
at _3.isc_ListGrid__getEditValue [as $30y] (ISC_Grids.js:2262)
at _3.isc_ListGrid_storeUpdatedEditorValue [as storeUpdatedEditorValue] (ISC_Grids.js:2337)
at _3.isc_ListGrid_getEditValues [as getEditValues] (ISC_Grids.js:2206)
at _3.isc_ListGrid_validateRecord [as validateRecord] (ISC_Grids.js:2496)
at _3.isc_ListGrid_validateRow [as validateRow] (ISC_Grids.js:2495)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2410)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2426)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
at _3.isc_ListGrid__unsortOnChange [as $338] (ISC_Grids.js:2466)
at _3.isc_ListGrid_saveEditedValues [as saveEditedValues] (ISC_Grids.js:2448)
at _3.isc_ListGrid_saveEdits [as saveEdits] (ISC_Grids.js:2414)
at _3.isc_ListGrid_saveAllEdits [as saveAllEdits] (ISC_Grids.js:2432)
at _3.isc_ListGrid_lostEditsCallback [as lostEditsCallback] (ISC_Grids.js:2324)
at _3.isc_ListGrid_showLostEditsConfirmation [as showLostEditsConfirmation] (ISC_Grids.js:2324)
at _3.isc_ListGrid_setSort [as setSort] (ISC_Grids.js:2988)
at _3.isc_ListGrid_unsort [as unsort] (ISC_Grids.js:2962)
Comment