Problem with parent control and change task id

Hi,

I am using commercial version of the dhtmlx gantt .

I am changing the id of the task when added to the gantt.

Now I need to implement the parent control but I keep getting this script error

“cannot read id of undefined”

snippet of the gantt is

http://docs.dhtmlx.com/gantt/snippet/d02be44a

Steps to reproduce are

  1. add a new task and select the parent to be a no parent/ any one
  2. all the tasks disappear
  3. click on the + and the script errors appears.

Hello,
the latest released version of a gantt has a bug related to changing the task parent from the lightbox on task creation. Probably this is related to your issue.
I’ve sent you a PM with a more recent build, the bug should have been fixed there. Does it solves your issue?