Bug #27830
closed
Unable to load audits page - undefined method `abstract_class?' for Object:Class
Added by Marek Hulán about 5 years ago.
Updated about 5 years ago.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1750846
Description of problem:
Audits page doesn't load, it only shows the following ISE:
undefined method `abstract_class?' for Object:Class
I tried to list audits using hammer and it worked, so I guess this is webui issue.
Version-Release number of selected component (if applicable):
6.6.0 snap#19
How reproducible:
always
Steps to Reproduce:
1. visit audits page
- Subject changed from Unable to load audits page - undefined method `abstract_class?' for Object:Class
to Unable to load audits page - undefined method `abstract_class?' for Object:Class
- Fixed in Releases 1.24.0 added
- Fixed in Releases deleted (
1.24.0)
From rails console, "ActiveRecord::Base" is not found inside superclasses while getting audit main_objects.
But on web-ui, getting listed inside superclasses.
I guess, on server start something get register that's why getting it.
ActiveRecord::Base.table_exists? is raising an exception "undefined method `abstract_class?' for Object:Class"
- Assignee set to Kavita Gaikwad
- Related to Bug #27346: Missing audit records for Host Create added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7034 added
- Fixed in Releases 1.24.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF