Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2230597

Summary: shouldn't be presented with ability to sync the repository once its 'IN' the content view
Product: Red Hat Satellite Reporter: Ricardo Santamaria <risantam>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.11.5CC: rlavi, sajha
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 12:15:21 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:
Embargoed:

Description Ricardo Santamaria 2023-08-09 17:09:04 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.*

How reproducible:

Steps to Reproduce:
In webUI go to : 
Content -> Content Views -> select CV -> select version -> click on repo name -> select action drop down -> sync 



Actual results: 
Using this path you are 'within' the content view where repositories are 'frozen' and can't be changed so when attempt to sync from this path correctly get message:

"undefined method `id' for nil:NilClass"

As noted in the Backend Identifier:
    1-rhel8-v1_0-54840ba6-46ba-4915-a6dc-06ebc87358ac

Expected results: 
Page looks very similar to exact as "content -> products -> select product -> select repo -> select action -> sync" 

it is not the same as you are unaware it's within a content view  


RFE to remove select action -> sync* options when whats being looked at is within a CV (noted by backend identifier and repo ID in url) or at least message rather than 'undefined method `id' for nil:NilClass'

Comment 4 Ron Lavi 2023-08-14 12:15:21 UTC
Closing as fixed in CURRENTRELEASE as this has been fixed in 6.13.0,
feel free to reopen in case there are any concerns.