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
follow up on https://github.com/opf/openproject/pull/19215
as-opb5a026cdaf5c
diff --git a/app/models/exports/formatters/hierarchy_formatter.rb b/app/models/exports/formatters/hierarchy_formatter.rbindex fec60692aaf..06aee69b495 100644--- a/app/models/exports/formatters/hierarchy_formatter.rb+++ b/app/models/exports/formatters/hierarchy_formatter.rb@@ -38,14 +38,10 @@ module Exportsdef format_hierarchy_item_for_export(item_value)item = ::CustomField::Hierarchy::Item.find_by(id: item_value.to_s)- return "#{item_value} #{I18n.t(:label_not_found)}" if item.nil?+ return "#{item_value} #{I18n.t(:label_not_found)}" unless itemitem.ancestry_pathend-- def hierarchy_item_service- ::CustomFields::Hierarchy::HierarchicalItemService.new- endendendend