Bug #1093

Bug : superclass mismatch for class MacroPost

Added by valeuf - 628 days ago. Updated 92 days ago.

Status :Closed Start :
Priority :Normal Due date :
Assigned to :scott - % Done :

0%

Category :admin
Target version :5.1
Resolution :

fixed


Description

After 4 or 5 page reload i've a several bug. Rails say : superclass mismatch for class MacroPost and I must reboot apache + mongrel.

It's a copy of my dev log for a session : http://code.bulix.org/6d6c5v-35974

History

03/15/2007 11:11 PM - sprewell -

I'm unable to reproduce this bug even though it has been reported by someone else also. Could you give some more info? What environment are you running (DB, OS, webserver, mongrel or fastcgi, ruby version, rails version, etc) and what do you do to produce the error (just loading the general settings page or setting a particular filter)?

03/25/2007 10:29 AM - potpot -

Probably this problem is only in development mode.
it similar http://dev.rubyonrails.org/ticket/6039

# ./script/console development
Loading development environment.
allow_concurrency=false
SitealizerController: missing default helper path sitealizer_helper
>> Object.const_defined? :TextFilterPlugin
=> true
>> Dependencies.clear
=> []
>> Object.const_defined? :TextFilterPlugin
=> false
>> TextFilter.find(1) rescue $!.message
=> "superclass mismatch for class MacroPost" 

03/26/2007 02:22 AM - potpot -

#1092 duplicate?

04/11/2007 05:48 PM - chowsapal -

I'm getting this same error. I'm running on eApps VPS hosting (CentOS), using rails 1.2.3, ruby 1.8.4, MySQL 5.0.27, with apache and fastcgi. The error seems to occur after visiting the main admin page and submitting the form, or immediately upon login, and is reset when I restart apache... If I type in admin urls by hand (like /admin/contents) I'm able to edit/delete posts. It seems to still affect the system in production mode, but I'm not an expert with rails.. I ran rake environment RAILS_ENV=production. The blog itself seems to break sometimes when the rest of the system breaks, but I haven't found a pattern for this. I'm still able to edit blog entries with xmlrpc.

04/11/2007 06:49 PM - chowsapal -

Oops, the same error occurs when trying to view a blog post after submitting it from TextMate via xmlrpc. This is on the view post page, and the same error appears on the blog home page after this is triggered. On resetting apache, the public side of the blog is fixed and the article was saved.

05/02/2007 12:17 PM - zaydana -

Looks as tho its a rails problem:

[http://www.ruby-forum.com/topic/53563#30458]

05/02/2007 03:27 PM - zaydana -

This is fixed in SVN by loading the textfilter plugins first in environment.rb.

08/31/2008 05:19 PM - neuro -

  • Status changed from New to Closed
  • Target version set to 5.1
  • Resolution set to fixed

Also available in: Atom PDF