project icon indicating copy to clipboard operation
project copied to clipboard

[14.0] project_milestone : Wrong assignment of tasks to milestones when duplicating a project

Open abenzbiria opened this issue 1 year ago • 0 comments

When a project is copied, its milestones and tasks are copied as well.

The problem is that the copied tasks are linked to milestones in the old project instead of the new one.

Module

project_milestone

Describe the bug

The module project_milestone allows to define milestones for a project.

Multiple tasks in the project can be linked to a given milestone.

When a project is copied, its milestones and tasks are copied as well.

The problem is that the copied tasks are linked to milestones in the old project instead of the new one.

To Reproduce

14.0 and 12.0:

Steps to reproduce the behavior: 1.Activate the use of milestones in a created project 01_Project

  1. Create new milestones 3.Create tasks and link them to milestones created in step 2

02-Project-Task-Groupby-Milestones

4- Duplicate the project with the created milestones and tasks 03-Duplicated-Project

5- Milestones and tasks are well duplicated . Add (copy) as suffix name to the duplicated milestones

04_Milestones_by_project

6- Nevertheless, tasks are assigned to old milestones not to the duplicated ones 05_Copied_Task_Assigned_to_Olds_Milestones

Expected behavior Copied tasks should be linked to the copied milestones when duplicating a project.

abenzbiria avatar May 17 '24 10:05 abenzbiria