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

handle not having a project e.g. on create

ulferts3b1230f737ec
diff --git a/modules/bim/lib/open_project/bim/engine.rb b/modules/bim/lib/open_project/bim/engine.rb
index 98e8d434b8e..901a9853d1a 100644
--- a/modules/bim/lib/open_project/bim/engine.rb
+++ b/modules/bim/lib/open_project/bim/engine.rb
@@ -116,7 +116,7 @@ module OpenProject::Bim
link :convertBCF,
cache_if: -> { current_user_allowed_to(:manage_bcf) } do
- next if represented.bcf_issue?
+ next if represented.bcf_issue? || represented.project.nil?
{
href: bcf_v2_1_paths.topics(represented.project.identifier),