[ANSWERED] Dependencies drag and drop tooltip always Invalid
Posted: Thu May 07, 2020 4:07 pm
by methode
Hello,
when I try to create a dependency between two tasks by drag and drop I always get - Invalid - in the Tooltip.
There are just two tasks in project only for test case, so not a complex scenario.
I get the red bar Invalid but at the end the dependency is correctly created, sync operation works fine.
1) Is there any Task property to be checked in my data that can break the dependency tooltip?
2) Which are the rules that make the tooltip showing Valid/Invalid dependency creation?
If you have access to the source code you can set a breakpoint in Scheduler.feature.mixin.DependencyCreation.onOverTargetTerminal function isValidDependencyToCreate call and track it down to the functions when validation happens.
Let us know how to reproduce the issue with one of our demos or submit a small runnable testcase, and we will try to help you to find the root cause! Please try to follow this guide when you ask for help viewtopic.php?f=35&t=772
Best,
Pavel
Re: [INFO REQ] Dependencies drag and drop tooltip always Invalid
Posted: Fri May 08, 2020 3:32 pm
by methode
Hello Pavel,
thanks, I can't find any solution, I tracked down the code as you suggested but it seems all fine.
Promise returned in ValidationComplete is correctly resolved with valid : true result.
I'll try to further investigate the issue. I also tried with a possible CSS conflict, but nothing.
In case, if I need to - disable - drag and drop dependency creation, how can people do it?
Thank you
Re: [INFO REQ] Dependencies drag and drop tooltip always Invalid
Posted: Fri May 08, 2020 5:03 pm
by pmiklashevich
Hello,
I'll try to further investigate the issue. I also tried with a possible CSS conflict, but nothing.
You can try to narrow the application down to a small test case and submit here, so we can try to help you to track this error down.
In case, if I need to - disable - drag and drop dependency creation, how can people do it?