Bug #35752
closedErrata search filtered with ID does not work in Web UI
Description
Description of problem:
Errata search in GUI filtered with "ID", does not search in ID, instead it search with 'Errata ID'.
Version-Release number of selected component (if applicable):
Satellite 6.6
How reproducible:
100%
Steps to Reproduce:
1. Search errata info with Errata Id in hammer :
-----
hammer> erratum info --id RHSA-2020:2031
Title: Critical: firefox security update
Description: Mozilla Firefox is an open-source web browser, designed for standards compliance, performance, and portability.
This update upgrades Firefox to version 68.8.0 ESR.
Security Fix(es):
Mozilla: Use-after-free during worker shutdown (CVE-2020-12387)
Mozilla: Memory safety bugs fixed in Firefox 76 and Firefox ESR 68.8 (CVE-2020-12395)
Mozilla: Buffer overflow in SCTP chunk input validation (CVE-2020-6831)
Mozilla: Arbitrary local file access with 'Copy as cURL' (CVE-2020-12392)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
ID: 6597
Errata ID: RHSA-2020:2031
Reboot Suggested: false
Updated: 2020-05-06
Issued: 2020-05-06
Solution: For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing the update, Firefox must be restarted for the changes to take effect.
Packages: firefox-68.8.0-1.el8_2.x86_64
--------
Now try search with the ID, instead of Errata Id.
--------
hammer> erratum info --id 6597
Title: Critical: firefox security update
Description: Mozilla Firefox is an open-source web browser, designed for standards compliance, performance, and portability.
This update upgrades Firefox to version 68.8.0 ESR.
Security Fix(es):
Mozilla: Use-after-free during worker shutdown (CVE-2020-12387)
Mozilla: Memory safety bugs fixed in Firefox 76 and Firefox ESR 68.8 (CVE-2020-12395)
Mozilla: Buffer overflow in SCTP chunk input validation (CVE-2020-6831)
Mozilla: Arbitrary local file access with 'Copy as cURL' (CVE-2020-12392)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
ID: 6597
Errata ID: RHSA-2020:2031
Reboot Suggested: false
Updated: 2020-05-06
Issued: 2020-05-06
Solution: For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing the update, Firefox must be restarted for the changes to take effect.
Packages: firefox-68.8.0-1.el8_2.x86_64
----------------------
As we see, ID and Errata_ID both works.
2. Try to search the Errata from GUI with Errata ID : " errata_id = RHSA-2020:2031"
--> It returns result.
Try to search the Errata from GUI with ID, "id = 6597",
--> it does not return any result.
3. Try to search the Errata from GUI with ID, using 'Errata ID' value "id = RHSA-2020:2031"
--> It returns result.
Actual results:
In GUI, 'ID' and 'Errata ID', both search works if we use "Errata ID" in filter. But it does not work if we use "ID" number of the errata. It works in hammer.
Expected results:
-ID should search and show results based on the ID of errata.
-Errata ID should search and show results based on the Errata Id.
Additional info: N/A
Updated by Lucy Fu about 2 years ago
- Subject changed from Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1837767 to Errata search filtered with ID does not work in Web UI
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lucy Fu
- Pull request https://github.com/Katello/katello/pull/10354 added
Updated by Samir Jha about 2 years ago
- Target version set to Katello 4.8.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 2 years ago
- Fixed in Releases Katello 4.8.0 added
Updated by Lucy Fu about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|c51a68973a0b00a6c169b7ea97eefd79fd5428ed.