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

resilient grid text textile conversion

ulfertsd034003110f3
diff --git a/modules/overviews/lib/overviews/patches/textile_converter_patch.rb b/modules/overviews/lib/overviews/patches/textile_converter_patch.rb
index 3ca0ce7e628..a17183a8a9e 100644
--- a/modules/overviews/lib/overviews/patches/textile_converter_patch.rb
+++ b/modules/overviews/lib/overviews/patches/textile_converter_patch.rb
@@ -12,6 +12,9 @@ module Overviews::Patches
module Patch
def convert_custom_text_widgets
+ # If the table does not exist yet, there is nothing to convert
+ return unless Grids::Overview.table_exists?
+
print Grids::Overview.name
text_widgets_to_convert