Project

General

Profile

Actions

Bug #14889

closed

undefined method `id' for nil:NilClass in katello/api/v2/host_collections

Added by Andrew Kofink over 8 years ago. Updated over 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1331875
Description of problem: When requesting katello/api/v2/host_collections with no parameters, "id" is called on nil.

Version-Release number of selected component (if applicable): 1.12-develop

How reproducible: Always

Steps to Reproduce:
1. Visit http://localhost:3000/katello/api/v2/host_collections

Actual results:
undefined method `id' for nil:NilClass

Expected results:
JSON result of all host_collection objects across all organizations

Additional info:
This is not a bug in Satellite 6.1 or 6.2.

Actions

Also available in: Atom PDF