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
Fall back custom_text without accessing project
Oliver Günther6f0a75bcc530
diff --git a/modules/overviews/db/migrate/20190826083604_my_project_page_to_grid.rb b/modules/overviews/db/migrate/20190826083604_my_project_page_to_grid.rbindex 5f15a77521f..3e177419830 100644--- a/modules/overviews/db/migrate/20190826083604_my_project_page_to_grid.rb+++ b/modules/overviews/db/migrate/20190826083604_my_project_page_to_grid.rb@@ -125,7 +125,7 @@ class MyProjectPageToGrid < ActiveRecord::Migration[5.2]def build_custom_text_widget(grid, widget_config, position)build_widget_with_options(grid, "custom_text", position) do |options|- name = widget_config[1].presence || Project.where(id: grid.project_id).pick(:name) || "Text"+ name = widget_config[1].presence || "Text"options[:name] = nameoptions[:text] = widget_config[2]