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

Ensure reform error merge syntax is compatible with ActiveModel

Oliver Günther829bf399c60e
diff --git a/lib/open_project/patches/reform.rb b/lib/open_project/patches/reform.rb
index 0a1e459263c..8afd45dc12d 100644
--- a/lib/open_project/patches/reform.rb
+++ b/lib/open_project/patches/reform.rb
@@ -31,7 +31,7 @@
module OpenProject
module Patches
module Reform
- def merge!(errors, prefix)
+ def merge!(errors, prefix = [])
@store_new_symbols = false
super(errors, prefix)
@store_new_symbols = true