Bug #5104
closedundefined method `redhat?' for nil:NilClass
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.
Updated by Thomas Cameron almost 11 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.
Updated by Dominic Cleal almost 11 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
Updated by Lukas Zapletal almost 11 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!
Updated by Justin Sherrill almost 11 years ago
- Translation missing: en.field_release set to 13
Updated by Eric Helms over 10 years ago
- Category set to API
- Triaged changed from No to Yes
Updated by Eric Helms over 10 years ago
- Related to Feature #6180: Implement org destroy added
Updated by Justin Sherrill over 10 years ago
- Status changed from New to Assigned
- Assignee set to David Davis
Assigning to david since he is working on org deletion
Updated by David Davis over 10 years ago
- Status changed from Assigned to Closed
I performed the following steps:
- Imported manifest
- Enabled RH repos
- Synced RH repos
- Removed manifest
- 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.