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

fixup! [#47064] Support custom_field_* in the attributesByTimestamp

Dombi Attila5b078940053d
diff --git a/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb b/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb
index 30fff1dc0b2..1a5a87e42a4 100644
--- a/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb
+++ b/lib_static/plugins/acts_as_journalized/lib/acts/journalized/journable_differ.rb
@@ -65,8 +65,6 @@ module Acts::Journalized
end
def get_association_changes(original, changed, association, association_name, key, value)
- # ::Kernel.binding.pry# if changed.send(association).any? && original.nil?
-
if original.nil?
changed.send(association).each_with_object({}) do |associated_journal, h|
changed_attribute = "#{association_name}_#{associated_journal.send(key)}"
@@ -131,10 +129,5 @@ module Acts::Journalized
end
end
end
-
- # def initialize(original, changed)
- # @original = original
- # @changed = changed
- # end
end
end