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
[31580] Stringify file name
Oliver Günther3adce4d7c8e6
diff --git a/lib/api/v3/attachments/attachments_by_container_api.rb b/lib/api/v3/attachments/attachments_by_container_api.rbindex fb3e6789614..63cb465d7d1 100644--- a/lib/api/v3/attachments/attachments_by_container_api.rb+++ b/lib/api/v3/attachments/attachments_by_container_api.rb@@ -77,7 +77,7 @@ module APIdef build_and_attach(metadata, file)uploaded_file = OpenProject::Files.build_uploaded_file file[:tempfile],file[:type],- file_name: metadata.file_name+ file_name: metadata.file_name.to_sservice = AddAttachmentService.new(container, author: current_user)