Actions
Bug #34989
closed[BUG] The != and ~ search params does not work with os_minor parameter in Satellite 6.9
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9243 added
Updated by Adam Ruzicka over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|d767911c30db4c5cb2c3d5d3c6c25385329a6e35.
Actions