Hello,
I found a bug (almost comical) that prevents me from moving a task in the gantt chart. I have tasks A,B,C,and D. Task B is a child of task A. Task B depends on task D (via a dependency arrow). I would like to move task B from being the child of A to being the child of C.
When I do A.Children.Remove(B), I get a "key not found exception" in your code, which I assume means that it couldn't find the other end of the dependecy arrow from D to B. In order words, I can't remove B because of the arrow. However, if I do C.Children.Add(B), then I get a "element already exists". In order words, I can't add B twice. Conclusion: B cannot be moved without deleting all of its dependency arrows, and likely all arrows on other tasks that point to B.
In order words, B cannot be moved.
It would take too long (computationally) to find and delete all dependency arrows before moving the task, only to recreate them afterwards. This problems relates to my other query about disabling grouping until all I finish changing the structure.
Thanks,
Eric
I found a bug (almost comical) that prevents me from moving a task in the gantt chart. I have tasks A,B,C,and D. Task B is a child of task A. Task B depends on task D (via a dependency arrow). I would like to move task B from being the child of A to being the child of C.
When I do A.Children.Remove(B), I get a "key not found exception" in your code, which I assume means that it couldn't find the other end of the dependecy arrow from D to B. In order words, I can't remove B because of the arrow. However, if I do C.Children.Add(B), then I get a "element already exists". In order words, I can't add B twice. Conclusion: B cannot be moved without deleting all of its dependency arrows, and likely all arrows on other tasks that point to B.
In order words, B cannot be moved.
It would take too long (computationally) to find and delete all dependency arrows before moving the task, only to recreate them afterwards. This problems relates to my other query about disabling grouping until all I finish changing the structure.
Thanks,
Eric