roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Fix for bug in Plan duplication results in original plan identifier b…

Open johnpinto1 opened this issue 6 months ago • 0 comments

…eing copied.

Change in class method Plan.deep_copy:

  • Firstly, on duplicating the Plan we set the plan identifier to nil and save.
  • Then we fill the identifier variable with the Plan id that was regenerated when the duplicate copy was save in the previous.
  • We then persist this change by saving the Plan again.

johnpinto1 avatar Jul 29 '24 11:07 johnpinto1