A task can either be in a Goal or a Project, but not both at the same time.

Assigning a task to a Goal deletes the Project entry that the task was previously assigned to. Assigning a task to a Project that is currently in a Goal deletes the Goal setting for that task.

Any individual task can either be assigned to a Goal, or to a Project, but not to both a Goal and a Project at the same time.