Bug 1811390 - Links to an errata list of a repository lack repositoryId in URI and points to generic "errata" page instead
Summary: Links to an errata list of a repository lack repositoryId in URI and points t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-08 09:37 UTC by Pavel Moravec
Modified: 2023-12-15 17:28 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-katello-3.16.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:00:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29398 0 Normal Closed Links to an errata list of a repository lack repositoryId in URI and points to generic "errata" page instead 2020-10-27 12:53:12 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:00:48 UTC

Description Pavel Moravec 2020-03-08 09:37:09 UTC
Description of problem:
Inspecting a repository content, one sees X packages, Y errata, Z Package Groups etc., all click-able to get list of [packages|errata|..] in the repository. All but errata links work fine - clicking to Errata link, one is pointed to

https://satellite.example.com/errata

that contains _applicable_ errata from _all_ repositories.

The URL link should be instead:

https://satellite.example.com/errata?repositoryId=39

(with proper repositoryId value)

(and yet better, Applicable flag should be unchecked as we are interested in whole repository content, not applicable only, no?)


Version-Release number of selected component (if applicable):
Sat 6.7 Beta (or any older release)


How reproducible:
100%


Steps to Reproduce:
0. Sync a repository that we will inspect further
1. In WebUI, go to Products -> click to the product -> Repositories
2. Click to "4075 Errata" link
3. Optionally, click to the repository and _then_ click to the same link


Actual results:
Both 2. and 3. opens https://satellite.example.com/errata .


Expected results:
Both 2. and 3. should open https://satellite.example.com/errata?repositoryId=39 (with proper repositoryId value), ideally with "Applicable" checkbox unchecked.


Additional info:
Opening the "errata?repositoryId=39" URI directly first lists _all_ errata as well. And even after a while, the page is refreshed to show just errata from the repository - dont be confused by this UI subtle bug.

Comment 3 Samir Jha 2020-03-24 07:25:12 UTC
Created redmine issue http://projects.theforeman.org/issues/29398 from this bug

Comment 4 Bryan Kearney 2020-03-25 20:03:35 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29398 has been resolved.

Comment 10 errata-xmlrpc 2020-10-27 13:00:31 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 (Important: Satellite 6.8 release), 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-2020:4366


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