Defect #10951
Redmine 2.0.0 error at repositories
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Affected version: | 2.0.0 | Resolution: | Invalid |
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?(@project) >
53: <div id="main-menu">
54: <= render_main_menu(@project) %>
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'
History
#1 Updated by Toshi MARUYAMA about 1 year ago
Did you run "db:migrate"?
source:tags/2.0.0/db/migrate/20120422150750_change_repositories_to_full_sti.rb
#2 Updated by Lleïr Borràs about 1 year ago
- Status changed from New to Resolved
Ok my fault... Sorry
#3 Updated by Toshi MARUYAMA about 1 year ago
- Status changed from Resolved to Closed
- Resolution set to Invalid