rmehta’s fix BREAKING CHANGE: Remove anti-pattern "Project Task" by rmehta · Pull Request #18059 · frappe/erpnext · GitHub noted here Task loses link to project - #6 by rmehta may help this issue here too.
That fix applies to v12, whether it also will be applied to the master branch for a general update to v11 is the question.