Skip to content

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

Move errors from the date range to the start date.

Dombi Attilaade2eaeca1fa
diff --git a/app/contracts/project_life_cycle_steps/update_contract.rb b/app/contracts/project_life_cycle_steps/update_contract.rb
index 3e82db1a291..fc475ef6fb4 100644
--- a/app/contracts/project_life_cycle_steps/update_contract.rb
+++ b/app/contracts/project_life_cycle_steps/update_contract.rb
@@ -41,7 +41,7 @@ module ProjectLifeCycleSteps
return unless model.range_set?
return if start_after_preceding_phases?
- model.errors.add(:date_range, :non_continuous_dates)
+ model.errors.add(:start_date, :non_continuous_dates)
end
private