Bug 1374868

Summary: Exception trying to view an Ansible Job Template from Configuration > Jobs
Product: Red Hat CloudForms Management Engine Reporter: Jerome Marc <jmarc>
Component: UI - OPSAssignee: lgalis
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: hkataria, jhardy, jmarc, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 22:32:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jerome Marc 2016-09-09 22:10:05 UTC
Description of problem:
The following exception occurs when viewing an Ansible Job Template in Configuration > Jobs.

Error text:
undefined method `name' for nil:NilClass [configuration_job/show] 

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

How reproducible:
Always

Steps to Reproduce:
1. Configure Ansible Tower (v3 latest) in CloudForms and refresh
2. Navigate to Configuration > Jobs and select a job

Actual results:
Exception: undefined method `name' for nil:NilClass [configuration_job/show] 

Expected results:
The job view should open without exception

Additional info:

Comment 7 lgalis 2016-10-18 22:32:50 UTC
Hi Jerome - thi sis caused by a bug fixed here : https://github.com/ManageIQ/manageiq/pull/11913 - the error occurs for job templates with nil services. 
I am marking this as duplicate of BZ 1378211.

Thanks,
Laura

*** This bug has been marked as a duplicate of bug 1378211 ***