Project

General

Profile

Actions

Bug #27830

closed

Unable to load audits page - undefined method `abstract_class?' for Object:Class

Added by Marek Hulán almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #27346: Missing audit records for Host CreateClosedKavita GaikwadActions
Actions #1

Updated by Marek Hulán almost 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

Actions #2

Updated by Kavita Gaikwad almost 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"

Actions #3

Updated by Kavita Gaikwad almost 5 years ago

  • Assignee set to Kavita Gaikwad
Actions #4

Updated by Kavita Gaikwad almost 5 years ago

  • Related to Bug #27346: Missing audit records for Host Create added
Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7034 added
Actions #6

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 1.24.0 added
Actions #7

Updated by Kavita Gaikwad over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF