issues
search
DMPRoadmap
/
roadmap
DCC/UC3 collaboration for a data management planning tool
MIT License
106
stars
109
forks
source link
Fix for bug in Plan duplication results in original plan identifier b…
#3441
Closed
johnpinto1
closed
4 days ago
johnpinto1
commented
3 months ago
…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.
…eing copied.
Change in class method Plan.deep_copy: