Project

General

Profile

Actions

Bug #15414

closed

Browsing Repositories provides incorrect URL for

Added by Walden Raines almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1341844
Description of problem:

After downloading and importing Debugging Certificate into browser, browsing a Repo's "Published At" URL will have invalid links for the Packages.

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

Satellite 6.2 Beta

How reproducible: Seemingly always, with any Repo the customer, or myself have tried. Customer or Red Hat provided.

Steps to Reproduce:
1. Download, convert, and import "Debugging Certificate" into browser.
2. Go to "Content" > "Content View" > (CV name) >
"Yum Content" > "Repositories" > (Repo Name)
3. Click the "Published At" link. It will list the packages.
4. Click on any Package link

Actual results:

404 Not found.
The link for the package leaves off the part of the path.

Example:

(Incorrect)
https://sat62beta.redhat.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.1/facter-1.7.6-2.1.el7sat.x86_64.rpm

Expected results:

Package should start download.
In this example, the URL for the package that DOES download has /os/ in it. Other examples (for like kickstart repos) would be /kickstart/ or a custom repo name.

(Correct)
https://farmkvmr7n15.dgross.redhat.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.1/os/facter-1.7.6-2.1.el7sat.x86_64.rpm

Additional info:

Workaround - When you first click the URL in the "Published At" field and it lists the packages, the download links don't work.   However, if you click the "Parent Directory" and then drill back down to the package listing, the links will work and will download correctly.
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6125 added
Actions #2

Updated by Walden Raines almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release set to 144
Actions

Also available in: Atom PDF