Bug 2190473

Summary: Getting "NoMethodError undefined method `get_status' for nil:NilClass" when publishing content view
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: Content ViewsAssignee: Sam Bible <sbible>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.12.3CC: jsenkyri, juwatts, pcreech, sajha, satellite6-bugs, saydas, sbible
Target Milestone: 6.13.1Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.7.0.24-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2186713 Environment:
Last Closed: 2023-05-31 15:28:22 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 3 Sam Bible 2023-05-10 18:17:01 UTC
Tested on: Satellite 6.13.1 - Snap 1

Steps to Reproduce:
1. Create a content view and attach a RHEL 7 repo to it. Publish the CV
2. In web UI, subscribe a content host in Organization 'A' and Location 'B' to the CV.
3. In the Web UI, set your current Organization as 'A' and current Location as 'C'.
4. Publish the content view.

Expected Results: 
CV is successfully published with a different location than the subscribed host. 

Actual Results:
CV is successfully published with a different location than the subscribed host.

Comment 8 errata-xmlrpc 2023-05-31 15:28:22 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 (Moderate: Satellite 6.13.1 Async Security 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/RHSA-2023:3387