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
[#66093] Only consider errors for missing values
Tobias Dillmann9581aa2f1286
diff --git a/app/models/calculated_values/error_handler.rb b/app/models/calculated_values/error_handler.rbindex f22fa74d580..9b912b8a804 100644--- a/app/models/calculated_values/error_handler.rb+++ b/app/models/calculated_values/error_handler.rb@@ -107,8 +107,7 @@ module CalculatedValues# Returns a list of all custom field ids that could not compute a value.def cf_ids_with_missing_values- @cf_ids_with_missing_values ||= given_values.merge(calculation_values)- .merge(calculation_errors)+ @cf_ids_with_missing_values ||= given_values.merge(calculation_errors).filter_map { |k, v| to_id(k) unless v.is_a?(Numeric) }end