Bug 1608024
Summary: | [Sat6.4] Filter to list RPM repos on new Red Hat Repositories page should not list Beta repos | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ashish Humbe <ahumbe> | ||||
Component: | Repositories | Assignee: | Michael Johnson <micjohns> | ||||
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.4 | CC: | bbuckingham, micjohns, walden, zhunting | ||||
Target Milestone: | 6.4.0 | Keywords: | Triaged, UserExperience | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-katello-3.7.0.21-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-10-16 18:56:22 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: | |||||||
Attachments: |
|
Description
Ashish Humbe
2018-07-24 19:06:26 UTC
Created attachment 1471484 [details]
Beta repos listed even when we have seleceted RPM filter
Created redmine issue https://projects.theforeman.org/issues/24680 from this bug Any idea if we need to provide something other than RPM as a content type? The search we're providing currently is: /katello/api/v2/repository_sets?organization_id=1&with_active_subscription=true&per_page=20&search=(((name+!~+source+rpm)+and+(name+!~+debug+rpm)+and+(content_type+%3D+yum))) Trying to figure out if this issue is on the API or UI side. I am going to switch the needinfo to Michael. He picked up the card yesterday afternoon to begin investigating. I suspect that this will involve both server-side and UI. The UI side may be simply updating the query when Beta is selected. (If you can point Michael to that code, that would be great.) The server-side might be creating a custom search (if not supported by default). That said, it needs to be investigated to identify the proper solution. On the old page (Sat 6.3), the app was able to differentiate types based upon: RPMs, Kickstarts, Source RPMs, Debug RPMs, Beta, ISOs, OSTree and Other That page was using the following action: katello/providers/redhat_provider_tab?tab=beta (In reply to Brad Buckingham from comment #5) > I am going to switch the needinfo to Michael. He picked up the card > yesterday afternoon to begin investigating. I suspect that this will > involve both server-side and UI. The UI side may be simply updating the > query when Beta is selected. (If you can point Michael to that code, that > would be great.) The server-side might be creating a custom search (if not > supported by default). That said, it needs to be investigated to identify > the proper solution. > > On the old page (Sat 6.3), the app was able to differentiate types based > upon: > RPMs, Kickstarts, Source RPMs, Debug RPMs, Beta, ISOs, OSTree and Other > > That page was using the following action: > katello/providers/redhat_provider_tab?tab=beta https://github.com/Katello/katello/blob/master/webpack/redux/actions/RedHatRepositories/helpers.js#L7 Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24680 has been resolved. Verified on Satellite 6.4 snap 2O, repository search limited to RPM type does not include beta repositories 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, 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-2018:2927 |