Gantt updateTaskId dependency error
thijs4ef opened this issue · 2 comments
Hi,
I get an error after running the updateTaskId method in the gantt (in react):
The error: TypeError: pred is undefined
Details:

It looks like the updatePredecessorOnUpdateId is always called in the updateTaskId method. link to method
I forked one of the stackblitz examples and reproduced the error. link to the fork
Maybe this issue can be fixed by applying the the null check that is done on the parents on line 1896.
Thanks!
Hi thijs4ef,
Greetings from Syncfusion support.
We were able to replicate the issue you reported and have considered it as a bug from our side. We have logged a bug report for it. You can track its status from the below feedback link.
The fix will be provided in the patch release scheduled for June 16, 2021.
We appreciate your patience until then.
Regards,
Monisha.
Hi thijs4ef,
Thank you for your patience.
The reported issue “Issue when using updateTaskId method when predecessor field is not mapped in the taskfields” has been resolved in version v19.1.69. Please find the release notes from the below link.
Release Notes: https://ej2.syncfusion.com/react/documentation/release-notes/19.1.69/?type=all#gantt
Please contact us if you require any further assistance.
Regards,
Monisha.