Bug 2212756

Summary: Link for container count on CV page redirects to an invalid page
Product: Red Hat Satellite Reporter: Manu Sunil <msunil>
Component: NavigationAssignee: Adam Ruzicka <aruzicka>
Status: VERIFIED --- QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: aruzicka, pcreech, rlavi
Target Milestone: 6.14.0Keywords: Triaged, UserExperience
Target Release: Unused   
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: 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 Manu Sunil 2023-06-06 09:03:21 UTC
Description of problem:

- Clicking on the container count link on the CV Repositories page redirects to an invalid page.

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

- Satellite 6.13

How reproducible:

- Everytime.

Steps to Reproduce:

1. Sync a container repository on the Satellite.

2. Create a CV or use a existing CV.

3. Navigate to the Repositories page on the CV.

   Satellite WebUI : Content --> Content View --> Select CV --> Repositories tab --> Click on any of the link in Content column for the container repository.

Actual results:

- Redirected to an invalid page.

  ~~~
  404 - Page Not Found
  The requested URL /products/1/repositories/2/content/content/docker_manifests was not found.
  ~~~

Expected results:

- Should redirect to the correct page.

Additional info:

- Seems like the URL is generated incorrectly.

  https://satellite.example.com/products/1/repositories/2/content/content/docker_manifests 

  It should be the following instead.

  https://satellite.example.com/products/1/repositories/2/content/docker_manifests

Comment 2 Adam Ruzicka 2023-06-06 11:47:47 UTC
Created redmine issue https://projects.theforeman.org/issues/36474 from this bug

Comment 4 Bryan Kearney 2023-06-08 16:04:06 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36474 has been resolved.

Comment 5 Peter Ondrejka 2023-07-12 11:39:19 UTC
Verified on Satellite 6.14 sn 6, repo content links are now correct for container repo in a CV UI