Project

General

Profile

Actions

Bug #22491

closed

Wrong search result, when trying to filter for particular compliance policy

Added by Marek Hulán about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
Getting wrong search result, when trying to filter for particular compliance_policy in Satellite WebUI > Hosts > Reports

Version-Release number of selected component (if applicable):
Satellite 6.3.0

How reproducible:
Make sure there are more than one arf reports from different compliance policies.

Steps to Reproduce:
1. Go to satellite webui > Hosts > Reports
2. In search filter put " compliance_policy = anything"
3. It results showing all the reports.

Also the API call return all the reports.

Example -

curl -X GET -s -k -u admin:redhat https://vm253-190.gsslab.pnq2.redhat.com/api/v2/compliance/arf_reports?search="compliance_policy=xyz" | python -m json.tool

Actual results:
Returns all the arf reports.

Expected results:
Sorted reports according to the search filter.

Also tested this on satellite 6.2.12 and found the same results

Actions #1

Updated by Marek Hulán about 6 years ago

  • Subject changed from Wrong search result, when trying to filter for particular compliance policy to Wrong search result, when trying to filter for particular compliance policy
  • Priority changed from High to Normal

reproducible with develop checkout

Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_openscap/pull/337 added
Actions #3

Updated by Marek Hulán almost 6 years ago

  • translation missing: en.field_release set to 364
Actions #4

Updated by Marek Hulán almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF