Project

General

Profile

Actions

Bug #3677

closed

Engine: System.class_name is undefined

Added by David Davis about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In a recent PR, we were getting errors (undefined method class_name) on the System class:

https://github.com/daviddavis/katello/blob/3079b571042995a09f9571bfaf3ef2a7b78fda91/app/controllers/katello/api/v2/systems_controller.rb#L101.

Here's the error:

http://m.davedroid.com/STbz

Thus we're skipping the test. We shouldn't have had to make this change. I think another System class or module is getting defined somewhere else somehow and is overriding Katello's System class. I tried both Katello::System and just System. Both threw the undefined method error.

Here's another backtrace: https://f.cloud.github.com/assets/86290/1545710/8fdafb74-4d7a-11e3-95ef-919fa06df4dd.png

Actions #1

Updated by Eric Helms over 10 years ago

  • Status changed from New to Closed
  • Triaged set to No

The tasks method in the systems controller was recently removed and since the error here hasn't shown up and references that I am closing.

Actions #2

Updated by Eric Helms over 10 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms over 10 years ago

  • Translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF