Bug 2211969

Summary: undefined method `[]' for nil:NilClass" or undefined method `last' for nil:NilClass" when generating Host - applied errata report
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: ReportingAssignee: Hao Chang Yu <hyu>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.11.5CC: ahumbe, avnkumar, hyu, juwatts, pcreech, rrajput, sajha
Target Milestone: 6.13.2Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.7.0.27-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2176368 Environment:
Last Closed: 2023-07-12 15:37:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Sam Bible 2023-06-25 16:47:57 UTC
Tested on 6.13.2 - Snap 2

Steps to reproduce:
1. In the "Run Job" page, use Katello SSH to apply errata to one or more hosts. In the errata field, simply enter any invalid errata.
2. Wait for the job to finish.
3. Generate the Host - Applied Errata report.

Actual results:
Report is generated successfully.

Expected results:
Report is generated successfully.

Comment 13 errata-xmlrpc 2023-07-12 15:37:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Satellite 6.13.2 Async Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:4043