Bug 2211969 - undefined method `[]' for nil:NilClass" or undefined method `last' for nil:NilClass" when generating Host - applied errata report
Summary: undefined method `[]' for nil:NilClass" or undefined method `last' for nil:Ni...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.11.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.13.2
Assignee: Hao Chang Yu
QA Contact: Sam Bible
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-02 19:03 UTC by Odilon Sousa
Modified: 2023-07-18 17:53 UTC (History)
7 users (show)

Fixed In Version: tfm-rubygem-katello-4.7.0.27-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2176368
Environment:
Last Closed: 2023-07-12 15:37:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36182 0 Normal Closed undefined method `[]' for nil:NilClass" or undefined method `last' for nil:NilClass" when generating Host - applied erra... 2023-06-02 19:04:07 UTC
Red Hat Issue Tracker SAT-16368 0 None None None 2023-06-02 19:04:07 UTC
Red Hat Issue Tracker SAT-17444 0 None None None 2023-06-02 19:04:07 UTC
Red Hat Issue Tracker SAT-18089 0 None None None 2023-06-02 19:06:52 UTC
Red Hat Product Errata RHBA-2023:4043 0 None None None 2023-07-12 15:37:25 UTC

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


Note You need to log in before you can comment on or make changes to this bug.