[FIX] Code error when copying a task
Merge pull request #5 from oihane/8.0-task_code

[FIX] Code error when copying a task