Defect #10951
closedRedmine 2.0.0 error at repositories
0%
Description
I just migrated my redmine to 2.0.0 and I couldn't edit projects with repositories configured. I temporally solved the error by truncating the repositories table, but it's not a cute solution.
The error message posted on my server was the following
ActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'Mercurial'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Repository.inheritance_column to use another column for that information.):
48: <% end >
49:
50: <h1><= page_header_title ></h1>
51:
52: < if display_main_menu?(Herve Harster) >
53: <div id="main-menu">
54: <= render_main_menu(Herve Harster) %>
lib/redmine.rb:209
lib/redmine/menu_manager.rb:196:in `call'
lib/redmine/menu_manager.rb:196:in `allowed_node?'
lib/redmine/menu_manager.rb:166: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:51:in `_app_views_layouts_base_html_erb__1363741852_2306188740'
app/controllers/projects_controller.rb:168:in `show'
Updated by Toshi MARUYAMA almost 13 years ago
Did you run "db:migrate"?
source:tags/2.0.0/db/migrate/20120422150750_change_repositories_to_full_sti.rb
Updated by Lleïr Borràs almost 13 years ago
- Status changed from New to Resolved
Ok my fault... Sorry
Updated by Toshi MARUYAMA almost 13 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid