Project

General

Profile

Actions

Bug #23887

closed

Unclear Error when performing bulk action of Manage Repository Set against Hosts without Content registration

Added by Samir Jha almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1573629

Description of problem:

When trying to perform bulk action "Manage Repository Sets" on Content Hosts, if a Content Host has never registered, it will fail and return an undefined method error:

NoMethodError: undefined method `uuid' for nil:NilClass

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

Red Hat Satellite 6.3.1

How reproducible: Easily, always?

Steps to Reproduce:
1. Create a Host: WebUI-> Hosts -> All Hosts -> Create Host - But do not actually build one yet or register that host.

2. Go to WebUI -> Content Hosts and select a number of hosts, including the one just created (which should show as "Never registered" and "Never checked in"

3. Select "Select Action" -> "Manage Repository Sets" and choose a Repository set and either "Override to Enabled" or "Override to disabled"

Actual results:

The task "Update Contennt Overrides to <content-host>" will fail with an error simply saying "undefined method `uuid' for nil:NilClass"

Expected results:

The task should still fail, or give a warning, more gracefully with an explanation of the failure rather than the undefined method error.

Additional info:

Actions #1

Updated by Samir Jha almost 6 years ago

  • Assignee set to Samir Jha
Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7436 added
Actions #3

Updated by Samir Jha almost 6 years ago

  • Difficulty set to trivial
Actions #4

Updated by Justin Sherrill almost 6 years ago

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

Updated by Anonymous almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF