Project

General

Profile

Bug #31562

"undefined method `name' for nil:NilClass" while switching organization from template invocation page.

Added by Tomer Brisker over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-

Description

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

Description of problem:
"undefined method `name' for nil:NilClass" while switching organization from template invocation page.

Version-Release number of selected component (if applicable):
- Satellite 6.9.0 snap 4

How reproducible:
- Always

Steps to Reproduce:
1. Run job on a host
2. Once job completed (failed/succeeded) click on hostname of that job to see template invocation(Detailed information about run)
3. Switch to diferent organization from that page.

Actual results:
" Oops, we're sorry but something went wrong undefined method `name' for nil:NilClass"

Expected results:
Proper error message

Additional info:
- Observed same behavior on Satellite 6.8 as well.

Associated revisions

Revision d64bbe03 (diff)
Added by Tomer Brisker over 1 year ago

Fixes #31562 - Don't crash when switching context on invocation

When changing the taxonomy contex on the template invocation page,
the host that was displayed may no longer be viewable in the new
context. Instead of erroring out show an informational message.

History

#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/563 added

#2 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases foreman_remote_execution 4.1.1 added

#3 Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Adam Ruzicka over 1 year ago

  • Fixed in Releases foreman_remote_execution-4.2.3 added
  • Fixed in Releases deleted (foreman_remote_execution 4.1.1)

#5 Updated by Adam Ruzicka over 1 year ago

  • Fixed in Releases foreman_remote_execution-4.3.0 added

Also available in: Atom PDF