Skip to content

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

Pass contract_options to SetAttributesService

Oliver Güntheraf8b76b5441a
diff --git a/app/services/base_services/write.rb b/app/services/base_services/write.rb
index da8958d3650..30abb09a75c 100644
--- a/app/services/base_services/write.rb
+++ b/app/services/base_services/write.rb
@@ -57,7 +57,8 @@ module BaseServices
attributes_service_class
.new(user: user,
model: instance(params),
- contract_class: contract_class)
+ contract_class: contract_class,
+ contract_options: contract_options)
.call(params)
end