Project

General

Profile

Actions

Bug #12770

closed

Job invocations launched by hammer not displayed in the UI

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
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">
Actions #1

Updated by Ivan Necas about 9 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.

Actions #2

Updated by Stephen Benjamin about 9 years ago

  • Status changed from Ready For Testing to Closed

Resolved as part of #12489, thanks!

Actions #3

Updated by Stephen Benjamin about 9 years ago

  • Target version set to 92
Actions #4

Updated by Stephen Benjamin about 9 years ago

  • Translation missing: en.field_release set to 108
Actions

Also available in: Atom PDF