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
Makes the fileLink services call save_journals rather than using the journal create service
Marcello Rocha95ed5b856cd3
diff --git a/modules/storages/app/services/storages/file_links/create_service.rb b/modules/storages/app/services/storages/file_links/create_service.rbindex 7622a325b03..21c2d5b8809 100644--- a/modules/storages/app/services/storages/file_links/create_service.rb+++ b/modules/storages/app/services/storages/file_links/create_service.rb@@ -47,7 +47,7 @@ class Storages::FileLinks::CreateService < BaseServices::Createreturn service_result unless container&.class&.journaled?# If journal creation fails, we don't care for now- Journals::CreateService.new(container, service_result.result.creator).call+ container.save_journalsservice_resultenddiff --git a/modules/storages/app/services/storages/file_links/delete_service.rb b/modules/storages/app/services/storages/file_links/delete_service.rbindex b74cd46f275..e5e979ce392 100644--- a/modules/storages/app/services/storages/file_links/delete_service.rb+++ b/modules/storages/app/services/storages/file_links/delete_service.rb@@ -37,7 +37,7 @@ module Storagesreturn service_result unless container&.class&.journaled?# We don't care if the journal creation fails for now.- Journals::CreateService.new(container, service_result.result.creator).call+ container.save_journalsservice_resultend