Actions
Bug #21017
closedInternal Server error when searching product repository by numbers with more than 9 digits
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Pull request:
Updated by Jonathon Turel over 7 years ago
Searching the repositories page for something like '9876543210' raises an error because of the query generated by the scoped_search gem which has this clause:
OR "katello_repositories"."id" IN ( SELECT "repository_id" FROM "katello_content_view_repositories" WHERE "katello_content_view_repositories"."content_view_id" = '9876543210' )
The search input is out of bounds for postgres integers.
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6959 added
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|ddd80cd44b73d47556cc51259d1bf72ca0694660.
Actions