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
[#40112] Can't upload BCF files as normal attachments to work packages via FOG
Wieland Lindenthalb4cde19cb96e
diff --git a/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb b/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rbindex 9c4348e932b..70fefe0f906 100644--- a/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb+++ b/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb@@ -7,9 +7,9 @@ module OpenProject::Bim::Patches::FogFileUploaderPatchdef fog_attributesreturn super unless path.ends_with?(".bcf")- {- "Content-Type" => "application/octet-stream"- }+ super.merge({+ "Content-Type" => "application/octet-stream"+ })endendend