Project

General

Profile

Actions

Defect #18779

closed

Error: The single-table inheritance mechanism failed to locate the subclass: 'GroupNonMember'

Added by zeke lee over 9 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I can't access the project setting page and here is the error log

ActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'GroupNonMember'. 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 Principal.inheritance_column to use another column for that information.):


Files

QQ20150108-2@2x.png (64.2 KB) QQ20150108-2@2x.png zeke lee, 2015-01-08 07:06
QQ20150108-1@2x.png (321 KB) QQ20150108-1@2x.png zeke lee, 2015-01-08 07:12

Related issues

Has duplicate Redmine - Defect #19272: Internal error if I try to go to settings of a project-RegClosed

Actions
Actions #1

Updated by Toshi MARUYAMA over 9 years ago

  • Category deleted (Activity view)
  • Status changed from New to Needs feedback

It seems you use Redmine 2.6.0 database on 2.5.0.
Because GroupNonMember is introduced by r13417 #17976.

Actions #2

Updated by zeke lee over 9 years ago

oh, may be it is ; Yesterday I install redmine by bitnami, and I reinstall the redmine in a new linux machine, and i dump the mysql data to it.

how to fix it ? where is the GroupNonMember in database;

sorry, my english is so poor, thanks!

Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

There is no easy way.
Please google "rake db:migrate:down VERSION=".

Actions #4

Updated by Ladislav Nesnera about 9 years ago

Have you solved this problem? I have the same. :-(

Actions #5

Updated by Toshi MARUYAMA about 9 years ago

  • Has duplicate Defect #19272: Internal error if I try to go to settings of a project-Reg added
Actions #6

Updated by Toshi MARUYAMA about 9 years ago

  • Subject changed from ActionView::Template::Error to The single-table inheritance mechanism failed to locate the subclass: 'GroupNonMember'
Actions #7

Updated by Toshi MARUYAMA about 9 years ago

  • Subject changed from The single-table inheritance mechanism failed to locate the subclass: 'GroupNonMember' to Error: The single-table inheritance mechanism failed to locate the subclass: 'GroupNonMember'
Actions

Also available in: Atom PDF