Show cool things you have done with our products


Post by Dev_Coppelis »

Hi,
while trying to copy a task the new task has been created successfully but with no dependencies
in attachment you will see the code for copying old task dependencies but i got 2 errors
1) in taskIncomingDependencies i can't fetch the new task id it gives me the
id = Gnt.examples.advanced.model.Task-1
2)in taskOutgoingDependencies it gives me runtime error
Attachments
source code
source code
taskDuplicate.png (35.8 KiB) Viewed 2679 times
second error
second error
taskDuplicateError.png (16.45 KiB) Viewed 2679 times

Post by Maxim Gorkovsky »

Hello.
Apparently that happens because your new task is not in the task store. Put new task to the task store before creating dependencies on it

Post Reply