Alert "Task not found" for parent task of type project when child unscheduled

Hello,

I wanted to display tasks without start_dates so i set the property unscheduled in each task. I also activated the display with the config

gantt.config.show_unscheduled = true;

Everything seams to work fine but i’ve got many alert messages for each unscheduled task’s parent of type project as shown in the picture bellow

I don’t understand why

Did i forgot something?
Thanks in advance

(i use the PRO version by the way)

Hello Bertrand,
By default, the show_unscheduled option is turned on:
https://docs.dhtmlx.com/gantt/api__gantt_show_unscheduled_config.html
But there is a confusion with that option. When it is enabled, unscheduled tasks are not displayed, and vice versa. The dev team will fix it in the future, but I cannot give you any ETA.

However, I cannot reproduce the issue with that option and unscheduled tasks:
http://snippet.dhtmlx.com/5/7e25a0267
Please, reproduce the issue in the snippet above, then click on the “Share” button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.

Hello,

thanks very much for your reply. Thanks to the snippets you provide to me I managed to find the solution.
In fact I’v got 3 types of tasks (task, version, project) and i merge all those tasks in the same array in the backend. After order the tasks in the array like this : project / version / tasks it work!

The topic can be close now
Thanks again