We regularly see JS errors like the one below when loading projects :
Here it is a pred/succ link that cannot be applied because of constraint dates positionned on the tasks.
Most of the time it is due to some constraints that are not valid, which results in the scheduling engine being instable, throwing JS errors and making it impossible to display all the tasks, not to mention edit them.
Invalid constraints can happen very quickly with various scenarii such as for example:
a task has been modified individually in another module without using your scheduling engine
some days off have been later added to a resource assigned to a task and intersect with the tasks dates
a project is being migrated from another system that was using another scheduling engine
etc...
All these scenarii lead to the problems mentionned at the beginning of this post and it is very difficult to find which constraints are invalid, especially when you have hundred of tasks.
Ideally, instead of just crashing the module, it would be far better to automatically adapt or remove the invalid constraints, display some notification about the changes, and thus allow the project to be displayed and edited.
But at the moment, we would be very happy if you could at least provide us with a solution to pre-check all constraints of a project before loading it and thus collect informations about which constraints are not valid and the tasks that are concerned. This way we could try to correct the issues and after that load the project.