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
Don't access #project on widget migration
Oliver Günther8fb502b03e21
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 2262eb75a7b..5f15a77521f 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 || grid.project.name+ name = widget_config[1].presence || Project.where(id: grid.project_id).pick(:name) || "Text"options[:name] = nameoptions[:text] = widget_config[2]