Task not found in rendering gantt chart

Hi,

I come here for the first time, because i did’nt know where to ask my question in the gantt doc.

I have an issue with my gantt app, I just added sub-projects to a project, since i did that, I have the following message:

Capture

The problem here is that i have a task with the ID 44 :

{
"id": "44",
"text": "Travail Détaché",
"parent": "0",
"type": "project",
"progress": 0,
"$no_start": true,
"$no_end": true,
"$rendered_type": "project",
"start_date": "2020-12-31T23:00:00.000Z",
"duration": 1,
"end_date": "2021-01-01T23:00:00.000Z",
"$effective_calendar": "global",
"$source": [],
"$target": [],
"constraint_type": "asap",
"$rendered_parent": "0",
"$level": 0,
"$open": false,
"$index": 16

}

So i don’t understand how it is possible.

Thanks for reading and sorry for my poor english

Hello Jocelyn,
If a task doesn’t have the date parameters and is loaded before the parent task, Gantt throws an error message. That happens even if the task is unscheduled. The dev team will fix that bug in the future, but I cannot give you any ETA.

As a workaround, you can try to load the parent tasks before their child tasks.
For example:

https://snippet.dhtmlx.com/5/38ee1b370

Hello Jocelyn,
The dev team fixed the bug with the Task not found error message. Now, if you load child tasks before their parents, Gantt doesn’t throw an error:
https://docs.dhtmlx.com/gantt/whatsnew.html#7112
You can see how it works in the following snippet:
http://snippet.dhtmlx.com/5/e330f9e03