Migrating from SQL Server to MySQL Errors
Added by Nathan Biggs about 6 years ago
We're trying to migrate from SQL Server to MySQL. The data appears to be okay except I get an error message when trying to get project details. Below is from my production.log
Started GET "/projects/houseautry" for 127.0.0.1 at 2018-11-14 12:18:23 -0500
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"houseautry"}
Current user: nbiggs (id=7)
Rendered projects/_members_box.html.erb (2.0ms)
Rendered news/_news.html.erb (4.0ms)
Rendered projects/show.html.erb within layouts/base (97.1ms)
Completed 500 Internal Server Error in 739ms
ActionView::Template::Error (undefined method `name' for nil:NilClass):
42: <% end >
43:
44: <h1><= page_header_title ></h1>
45:
46: < if display_main_menu?(Herve Harster) >
47: <div id="main-menu">
48: <= render_main_menu(Herve Harster) %>
lib/redmine.rb:252:in `block (2 levels) in <top (required)>'
lib/redmine/menu_manager.rb:199:in `call'
lib/redmine/menu_manager.rb:199:in `allowed_node?'
lib/redmine/menu_manager.rb:166:in `block in menu_items_for'
lib/redmine/menu_manager.rb:165:in `each'
lib/redmine/menu_manager.rb:165:in `menu_items_for'
lib/redmine/menu_manager.rb:90:in `render_menu'
lib/redmine/menu_manager.rb:80:in `render_main_menu'
app/views/layouts/base.html.erb:45:in `_app_views_layouts_base_html_erb__66780374_45696444'
app/controllers/projects_controller.rb:163:in `show'