Actions
Bug #11282
closedsearch on numeric facts is broken if using "~".
Description
When trying to search a numeric value fact and using operator '~' there a 500 error:
"PG::UndefinedFunction: ERROR: operator does not exist: numeric ~~* integer
LINE 1: ... E'^\\d+$' AND CAST ILIKE 0)) ...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts."
recreate:
search- facts.uptime_days ~ 0
Updated by Dominic Cleal almost 10 years ago
- Related to Feature #11150: Allow searching of facts as types other than string added
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2622 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Status changed from Ready For Testing to New
- Pull request added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/2622)
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2626 added
- Pull request deleted (
)
Updated by Imri Zvik over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Actions