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
chore[Op#52098]: match error message Byte unit expectation
Kabiru Mwenjacd6676fba820
diff --git a/modules/bim/app/controllers/bim/ifc_models/ifc_models_controller.rb b/modules/bim/app/controllers/bim/ifc_models/ifc_models_controller.rbindex a9c3718d056..00c6bdcca40 100644--- a/modules/bim/app/controllers/bim/ifc_models/ifc_models_controller.rb+++ b/modules/bim/app/controllers/bim/ifc_models/ifc_models_controller.rb@@ -66,7 +66,8 @@ module Bimdef set_direct_upload_file_nameif params[:filesize].to_i > Setting.attachment_max_size.to_i.kilobytes- render json: { error: I18n.t("activerecord.errors.messages.file_too_large", count: Setting.attachment_max_size) },+ render json: { error: I18n.t("activerecord.errors.messages.file_too_large",+ count: Setting.attachment_max_size.to_i.kilobytes) },status: :unprocessable_entityreturnend