Project

General

Profile

Actions

Bug #34989

closed

[BUG] The != and ~ search params does not work with os_minor parameter in Satellite 6.9

Added by Adam Ruzicka almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Search
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:

Please see the reproducer steps.

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

Satellite 6.9

How reproducible:

Always

Steps to Reproduce:
1. Hosts --> Content Hosts
2. Search by : os_minor != 4
3. Search by : os_minor ~ 4

Actual results:

At 2 i.e. os_minor != 4
~
external method 'search_by_os_minor' failed with error: undefined method `<>' for 9:Integer Did you mean? <
~

At 3 i.e. os_minor ~ 4
~
external method 'search_by_os_minor' failed with error: undefined method `ILIKE' for 9:Integer
~

Expected results:

Provide valid search results.

Additional info:

  • No issue in Satellite 6.8 but only in Satellite 6.9.
  • Don't see any changes in /usr/share/foreman/app/models/concerns/hostext/search.rb for search_by_os_minor function in both Satellite 6.8 and 6.9. So that means something else have got changed in Satellite 6.9
Actions #1

Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9243 added
Actions #2

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 3.4.0 added
Actions #3

Updated by Adam Ruzicka almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF