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
[#64348] Do not cache calculator instance
Tobias Dillmann3237e2042be6
diff --git a/app/models/custom_field/calculated_value.rb b/app/models/custom_field/calculated_value.rbindex 4c15ea77c3a..790da496ffe 100644--- a/app/models/custom_field/calculated_value.rb+++ b/app/models/custom_field/calculated_value.rb@@ -98,7 +98,7 @@ module CustomField::CalculatedValueprivatedef calculator- @calculator ||= Dentaku::Calculator.new(case_sensitive: true)+ Dentaku::Calculator.new(case_sensitive: true)enddef valid_formula_syntax?