Project

General

Profile

Actions

Bug #35752

closed

Errata search filtered with ID does not work in Web UI

Added by Lucy Fu over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Lucy Fu over 1 year 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
Actions #2

Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/Katello/katello/pull/10354 added
Actions #3

Updated by Samir Jha over 1 year ago

  • Target version set to Katello 4.8.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.8.0 added
Actions #5

Updated by Lucy Fu over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF