Defect #18779

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

Added by zeke lee almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:UrgentDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid Affected version:2.5.0

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.):

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

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


Related issues

Duplicated by Redmine - Defect #19272: Internal error if I try to go to settings of a project-Reg Closed

History

#1 Updated by Toshi MARUYAMA almost 3 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.

#2 Updated by zeke lee almost 3 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!

#3 Updated by Toshi MARUYAMA almost 3 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=".

#4 Updated by Ladislav Nesnera almost 3 years ago

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

#5 Updated by Toshi MARUYAMA almost 3 years ago

  • Duplicated by Defect #19272: Internal error if I try to go to settings of a project-Reg added

#6 Updated by Toshi MARUYAMA almost 3 years ago

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

#7 Updated by Toshi MARUYAMA almost 3 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'

Also available in: Atom PDF