[SOLVED] 4.0 to 5.2 migration -- Inline Editing in Grid TypeError: Cannot read property 'date' of undefined

I’m currently adding inline editing functionality to the grid and keep getting type errors for each editor. I have the editors and columns setup like this:

const EDITORS = {
  text: {type: 'text', map_to: 'phase'},
  start_date: {
    type: 'date',
    map_to: 'start_date',
  },
  end_date: {
    type: 'date',
    map_to: 'end_date',
  },
  duration: {type: 'number', map_to: 'duration', min: 0, max: 100},
  predecessors: {type: 'predecessor', map_to: 'predecessors'},
};

columns: [
      {
        name: 'start_date',
        editor: EDITORS.start_date,
        label: 'Start Date',
        align: 'center',
        width: 100,
        resize: true,
      },
      {
        name: 'end_date',
        editor: EDITORS.end_date,
        label: 'End Date',
        align: 'center',
        width: 100,
        resize: true,
      },
      {
        name: 'duration',
        editor: EDITORS.duration,
        label: 'Duration',
        align: 'center',
        width: 90,
        resize: true,
      },
      {
        name: 'phase',
        editor: EDITORS.text,
        label: 'Phase',
        align: 'center',
        width: 100,
        resize: true,
      },
    ],

Has anyone else faced similar issues while updating to 5.2?

30%20PM

Hello,
Unfortunately, I couldn’t reproduce it:
http://snippet.dhtmlx.com/c066519e9
I need full HTML page with all necessary Javascript code to reproduce the issue and see what might be wrong.
Or you can edit the snippet and after it reproduces the issue, click on the “Share” button and send me the link.