Project

General

Profile

Actions

Bug #5104

closed

undefined method `redhat?' for nil:NilClass

Added by Thomas Cameron about 10 years ago. Updated almost 6 years ago.

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

Description

I'm using Red Hat Satellite 6, nightly build. I created an organization called My Org, uploaded a manifest to it, synced some content, removed the manifest, and deleted the org. I got:

Warning!
undefined method `redhat?' for nil:NilClass

NoMethodError
undefined method `redhat?' for nil:NilClass
app/controllers/concerns/foreman/controller/taxonomies_controller.rb:89:in `destroy'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

I'll upload an sosreport in a minute.


Related issues 1 (0 open1 closed)

Related to Katello - Feature #6180: Implement org destroyClosedDavid Davis06/12/2014Actions
Actions #1

Updated by Thomas Cameron about 10 years ago

This system won't let me upload the sosreport, it's over 5 megs. I've posted it to http://camerontech.com/foreman/5104/

I should have mentioned - the organization still appears to be there, but when I try to select it as my org and navigate around to e.g. Red Hat Subscriptions, the little spinning icon just spins and spins.

Actions #2

Updated by Dominic Cleal about 10 years ago

  • Project changed from Foreman to Katello
  • Triaged set to No

I'd suggest getting the full strack trace with debugging enabled: http://projects.theforeman.org/projects/foreman/wiki/Troubleshooting#How-do-I-enable-debugging

Actions #3

Updated by Lukas Zapletal about 10 years ago

Out of curiousity - does foreman-debug command allow you to upload the tarball?

Do not worry to upload it, only Foreman core developers will be able to read it. Thanks!

Actions #4

Updated by Justin Sherrill almost 10 years ago

  • translation missing: en.field_release set to 13
Actions #5

Updated by Eric Helms almost 10 years ago

  • Category set to API
  • Triaged changed from No to Yes
Actions #6

Updated by Eric Helms almost 10 years ago

  • Target version set to 45
Actions #7

Updated by Eric Helms almost 10 years ago

Actions #8

Updated by Eric Helms almost 10 years ago

  • Target version deleted (45)
Actions #9

Updated by Eric Helms almost 10 years ago

  • Target version set to 48
Actions #10

Updated by Justin Sherrill almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to David Davis

Assigning to david since he is working on org deletion

Actions #11

Updated by Eric Helms almost 10 years ago

  • Target version changed from 48 to 49
Actions #12

Updated by Eric Helms over 9 years ago

  • Target version changed from 49 to 54
Actions #13

Updated by David Davis over 9 years ago

  • Status changed from Assigned to Closed

I performed the following steps:

  1. Imported manifest
  2. Enabled RH repos
  3. Synced RH repos
  4. Removed manifest
  5. Deleted org

And didn't receive an error. The code in question has gone through several iterations so I think it was probably fixed at some point.

Actions

Also available in: Atom PDF