Lattice Grid Buy a licence

Gantt ยท console.warn

gantt: deleteTask for unknown task "{id}" ignored.

Printed by Gantt, prefixed [lattice], since 1.36.0.

Warnings referencegantt-delete-unknown-*

Identifier
gantt-delete-unknown-*
Raised by
Gantt
Since
1.36.0

What happened

deleteTask() named a task the plan does not hold. Nothing was deleted, no before-event was raised, and the previous schedule was returned.

The fix

Check the id against the plan's tasks. Deleting the same task twice produces this on the second call.

Reference

Covered in full at the API reference.