Bug #27830
closedUnable to load audits page - undefined method `abstract_class?' for Object:Class
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
Updated by Marek Hulán about 5 years ago
- 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
this is 1.24 blocker
Updated by Kavita Gaikwad about 5 years ago
- 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"
Updated by Kavita Gaikwad about 5 years ago
- Related to Bug #27346: Missing audit records for Host Create added
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7034 added
Updated by Kavita Gaikwad about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 93c9697f9bfd130add991d5a605b5653c2dd34d3.