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
extract into patch
ulfertsc546241459b6
diff --git a/lib/api/v3/work_packages/eager_loading/checksum.rb b/lib/api/v3/work_packages/eager_loading/checksum.rbindex 8016639275f..031d3a18a9e 100644--- a/lib/api/v3/work_packages/eager_loading/checksum.rb+++ b/lib/api/v3/work_packages/eager_loading/checksum.rb@@ -70,7 +70,7 @@ module APIenddef checksum_associations- %i[status author responsible assigned_to version priority category type bcf_issue]+ %i[status author responsible assigned_to version priority category type]enddef md5_checksum_table_name(association_name)diff --git a/modules/bim/lib/open_project/bim/engine.rb b/modules/bim/lib/open_project/bim/engine.rbindex 93fd522a4a9..ee920090ddb 100644--- a/modules/bim/lib/open_project/bim/engine.rb+++ b/modules/bim/lib/open_project/bim/engine.rb@@ -94,6 +94,7 @@ module OpenProject::Bimpatch_with_namespace :API, :V3, :Activities, :ActivityRepresenterpatch_with_namespace :Journal, :AggregatedJournalpatch_with_namespace :API, :V3, :Activities, :ActivitiesSharedHelpers+ patch_with_namespace :API, :V3, :WorkPackages, :EagerLoading, :Checksumpatch_with_namespace :DemoData, :QueryBuilderpatch_with_namespace :DemoData, :ProjectSeederdiff --git a/modules/bim/lib/open_project/bim/patches/api/v3/work_packages/eager_loading/checksum_patch.rb b/modules/bim/lib/open_project/bim/patches/api/v3/work_packages/eager_loading/checksum_patch.rbnew file mode 100644index 00000000000..665d88f00a5--- /dev/null+++ b/modules/bim/lib/open_project/bim/patches/api/v3/work_packages/eager_loading/checksum_patch.rb@@ -0,0 +1,43 @@+#-- copyright+# OpenProject is an open source project management software.+# Copyright (C) 2012-2020 the OpenProject GmbH+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License version 3.+#+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:+# Copyright (C) 2006-2017 Jean-Philippe Lang+# Copyright (C) 2010-2013 the ChiliProject Team+#+# This program is free software; you can redistribute it and/or+# modify it under the terms of the GNU General Public License+# as published by the Free Software Foundation; either version 2+# of the License, or (at your option) any later version.+#+# This program is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU General Public License+# along with this program; if not, write to the Free Software+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.+#+# See docs/COPYRIGHT.rdoc for more details.+#++++module OpenProject::Bim::Patches::API::V3::WorkPackages::EagerLoading::ChecksumPatch+ def self.included(base)+ class << base+ prepend ClassMethods+ end+ end++ module ClassMethods+ protected++ def checksum_associations+ super + %i[bcf_issue]+ end+ end+end