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

Add comment about a new config in the application.rb

Dombi Attila6d8c319c4b88
diff --git a/config/application.rb b/config/application.rb
index 46677fd3564..0b5c8cff7a7 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -80,6 +80,10 @@ module OpenProject
# behavior would allow assignment but silently not persist changes to the
# database.
# This is a rails 7.1 behaviour.
+ # Ideally this should be defined in the `config/initializers/new_framework_defaults_7_1.rb`
+ # file, but since there is a bug, that file is not loaded correctly in the production environment.
+ # Once [the issue](https://community.openproject.org/wp/59474) is solved, this configuration can
+ # be moved to the `config/initializers/new_framework_defaults_7_1.rb`.
#++
config.active_record.raise_on_assign_to_attr_readonly = true