Multiple update not refresh gantt properly


I have a problem on the gantt update when I use the transaction mode to batch update in one request.
I have a dataProcessor configured like that

this.dp = gantt.createDataProcessor({
	url: '/api/planning/business',
        mode: 'JSON'

	mode: 'POST',
        headers: {
        	'Authorization': 'Bearer ' + token,
                'Content-Type': 'application/json'
}, true)

And I use this code to send data to the server


After the update, tasks remain marked whereas there successfully updated to the database.

How can I make this work properly ?

I already tried gantt.render(), gantt.updateTask() on onAfterUpdateEvent but nothing works.

Can you help me solve that problem please ?

Thanks a lot

I suppose you use the auto_scheduling functionality. If that is the case, we are aware of that issue.
When you update a task and Gantt auto-schedules other tasks, the changes are sent to the server, but auto-scheduled tasks are still highlighted. If you try to update the same task again, the changes for the highlighted tasks are not sent to the server.
You can see that the issue is reproduced in the following snippet:

You can remove the highlight by using the setUpdated method:
But it doesn’t help in the case when the changes are not sent to the server.

The dev team will fix it in the future, but I cannot give you any ETA. Unfortunately, I don’t have a workaround for that.