Hi,
Sorry for not providing stand alone test case, but seems to be many factors involved.
In short: we have ListGrid as part of CanvasItem. This grid is grouped by date field (remark: no error when grid isn't grouped).
Now if user chooses to copy a selected record and then modify some values in new/copied record and hit Enter (remark: no error when Tab and then Enter is hit) the following error "TypeError: Cannot read property 'startTime' of null" occurs:
Looking at the code you can see that record (obtained by getCellRecord() function) is null as this is new record editing, so exception is thrown at line ListGrid.js:44282 because of record[field].
This is SmartClient Version: SNAPSHOT_v13.0d_2021-09-09, but the same error could be spotted in v12.1p_2020-06-19.
Could you have a look, please?
Thanks,
MichalG
Sorry for not providing stand alone test case, but seems to be many factors involved.
In short: we have ListGrid as part of CanvasItem. This grid is grouped by date field (remark: no error when grid isn't grouped).
Now if user chooses to copy a selected record and then modify some values in new/copied record and hit Enter (remark: no error when Tab and then Enter is hit) the following error "TypeError: Cannot read property 'startTime' of null" occurs:
Looking at the code you can see that record (obtained by getCellRecord() function) is null as this is new record editing, so exception is thrown at line ListGrid.js:44282 because of record[field].
This is SmartClient Version: SNAPSHOT_v13.0d_2021-09-09, but the same error could be spotted in v12.1p_2020-06-19.
Could you have a look, please?
Thanks,
MichalG
Comment