OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove useless parent_id merge in WorkPackages::CopyService
Christophe Bliard9e88bf962fe5
diff --git a/app/services/work_packages/copy_service.rb b/app/services/work_packages/copy_service.rbindex 7234c33591e..8fb079cc19c 100644--- a/app/services/work_packages/copy_service.rb+++ b/app/services/work_packages/copy_service.rb@@ -77,8 +77,7 @@ class WorkPackages::CopyServiceattributes = work_package.attributes.slice(*writable_work_package_attributes(work_package))- .merge("parent_id" => work_package.parent_id,- "custom_field_values" => work_package.custom_value_attributes)+ .merge("custom_field_values" => work_package.custom_value_attributes).merge(overwritten_attributes)if overwritten_attributes.has_key?("start_date") &&