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
Add system update type and use string keys for cause hash
Klaus Zanders5dd5a97c86b0
diff --git a/app/models/journal.rb b/app/models/journal.rbindex 81f24baf5a9..349474bc9ef 100644--- a/app/models/journal.rb+++ b/app/models/journal.rb@@ -63,6 +63,7 @@ class Journal < ApplicationRecordwork_package_children_changed_timeswork_package_related_changed_timesworking_days_changed+ system_update].freeze# Make sure each journaled model instance only has unique version idsdiff --git a/db/migrate/20230731153909_add_file_link_journals_to_existing_containers.rb b/db/migrate/20230731153909_add_file_link_journals_to_existing_containers.rbindex 01a362f9d97..b1110b7e7c8 100644--- a/db/migrate/20230731153909_add_file_link_journals_to_existing_containers.rb+++ b/db/migrate/20230731153909_add_file_link_journals_to_existing_containers.rb@@ -37,7 +37,7 @@ class AddFileLinkJournalsToExistingContainers < ActiveRecord::Migration[7.0]next unless container.class.journaled?Journals::CreateService.new(container, system_user)- .call(cause: { type: 'system_update', feature: 'file_links_journal' })+ .call(cause: { "type" => 'system_update', "feature" => 'file_links_journal' })endend