Project

General

Profile

Bug #29398

Links to an errata list of a repository lack repositoryId in URI and points to generic "errata" page instead

Added by Samir Jha 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1811390

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.

Associated revisions

Revision d6cb1099 (diff)
Added by Samir Jha 7 months ago

Fixes #29398 - Correct errata redirection from repo (#8626)

History

#1 Updated by The Foreman Bot 7 months ago

  • Assignee set to Samir Jha
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8626 added

#2 Updated by Samir Jha 7 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0

#3 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases Katello 3.16.0 added

#4 Updated by Samir Jha 7 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF