Project

General

Profile

Bug #12770

Job invocations launched by hammer not displayed in the UI

Added by Stephen Benjamin over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Something with how the API's creating the invocation maybe?

 NoMethodError in Job_invocations#show

Showing /home/vagrant/foreman_remote_execution/app/views/job_invocations/show.html.erb where line #6 raised:

undefined method `job_invocation' for nil:NilClass

Extracted source (around line #6):

3: <% javascript 'template_invocation' %>
4: 
5: <% if @job_invocation.task %>
6:   <% title_actions(button_group(job_invocation_task_buttons(@job_invocation.task))) %>
7: <% end %>
8: 
9: <ul class="nav nav-tabs" data-tabs="tabs">

History

#1 Updated by Ivan Necas over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ivan Necas
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/80 added

I've rebased https://github.com/theforeman/foreman_remote_execution/pull/80 against the master, and the composer unification just solves the issue.

#2 Updated by Stephen Benjamin over 6 years ago

  • Status changed from Ready For Testing to Closed

Resolved as part of #12489, thanks!

#3 Updated by Stephen Benjamin over 6 years ago

  • Target version set to 92

#4 Updated by Stephen Benjamin over 6 years ago

  • Legacy Backlogs Release (now unused) set to 108

Also available in: Atom PDF