Actions
Bug #25599
closedActivation key search is broken
Status:
Closed
Priority:
Normal
Assignee:
Category:
Activation Key
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1653251
Description of problem:
Input any data to search field on Activation Key page and click 'Search' button. That action lead to SQL error and blocking of further search procedure
Version-Release number of selected component (if applicable):
6.5.0 (latest snap on Nov 25)
How reproducible:
Always
Steps to Reproduce:
1. Write any data to search field
2. Push 'Search' button
3.
Actual results:
Search functionality for activation keys doesn't work
Expected results:
You can use search functionality for activation keys
Additional info:
Added by John Mitsch over 6 years ago
Actions
Fixes #25599 - Activation key search by id
This was broken since it allowed a SQL query to query
non-integers on an integer column. I added a test that
reproduces the behavior
I'm not sure how long this has been broken. It could
have broke from semi-recent changes to the method,
rails version update, postgres version change, etc...