Bug 1472863 - Searching for specific organizations/locations broken
Searching for specific organizations/locations broken
Status: ON_QA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Search (Show other bugs)
Unspecified Unspecified
unspecified Severity high (vote)
: GA
: --
Assigned To: Ondřej Pražák
Roman Plevka
: 1479885 (view as bug list)
Depends On:
Blocks: 1373844
  Show dependency treegraph
Reported: 2017-07-19 10:41 EDT by Jitendra Yejare
Modified: 2017-09-15 14:47 EDT (History)
5 users (show)

See Also:
Fixed In Version: scoped_search-4.1.2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 19707 None None None 2017-07-19 11:05 EDT

  None (edit)
Description Jitendra Yejare 2017-07-19 10:41:41 EDT
If I try to search through subnets with location_id every subnet is returned as long as the location_id actually exists. If I search for a nonexsitent location_id no subnet gets returned.
Also searching for organizations seems to be broken too, because when I enter a location name as organization I get a list of all subnets.


  name: net1-mgmt
  location_id: 8

  name: net2-mgmt
  location_id: 9

search_string: location_id = 9 and name ~ net%-mgmt

Result: Both Subnets
Expected Result: Subnet2

search_string: location_id = 90 and name ~ net%-mgmt

Result: Nothing
Expected Result: Nothing (this is actually correct)

search_string: organization_id = 9 and name ~ net%-mgmt

Result: Both Subnets
Expected Result: Nothing as organization_id 9 does not exist
Comment 1 Jitendra Yejare 2017-07-19 10:41:45 EDT
Created from redmine issue http://projects.theforeman.org/issues/19707
Comment 4 pm-sat@redhat.com 2017-08-25 12:14:25 EDT
Upstream bug assigned to oprazak@redhat.com
Comment 5 Ondřej Pražák 2017-08-31 07:08:45 EDT
*** Bug 1479885 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.