Actions
Bug #38754
closedContent View Filter Errata: error when searching by date
Fixed in Releases:
Found in Releases:
Red Hat JIRA:
Description
Content View -> Filter
- Create Include or Exclude Filter for Errata
- Create new Rule
- Select Start or End Date to filter Errata
-> 500 Server error with the following messages in production.log:
08:57:02 rails.1 | 2025-09-17T08:57:02 [I|app|01af3a19] Started GET "/katello/api/v2/errata?show_all_for=content_view_filter&filter_id=1&include_filter_ids=true&per_page=20&page=1&search=&types[]=enhancement&types[]=security&types[]=bugfix&types[]=other&date_type=updated&start_date=08%2F01%2F2025" for 192.168.121.1 at 2025-09-17 08:57:02 +0000
08:57:02 rails.1 | 2025-09-17T08:57:02 [I|app|01af3a19] Processing by Katello::Api::V2::ErrataController#index as JSON
08:57:02 rails.1 | 2025-09-17T08:57:02 [I|app|01af3a19] Parameters: {"show_all_for"=>"content_view_filter", "filter_id"=>"1", "include_filter_ids"=>"true", "per_page"=>"20", "page"=>"1", "search"=>"", "types"=>["enhancement", "security", "bugfix", "other"], "date_type"=>"updated", "start_date"=>"08/01/2025", "api_version"=>"v2"}
08:57:02 rails.1 | 2025-09-17T08:57:02 [E|app|01af3a19] NameError: undefined local variable or method `date_type' for #<Katello::Api::V2::ErrataController:0x00000000106828>
08:57:02 rails.1 | 01af3a19 | /home/vagrant/katello/app/controllers/katello/api/v2/errata_controller.rb:66:in `custom_index_relation_handle_type_and_time'
08:57:02 rails.1 | 01af3a19 | /home/vagrant/katello/app/controllers/katello/api/v2/errata_controller.rb:62:in `custom_index_relation'
08:57:02 rails.1 | 01af3a19 | /home/vagrant/katello/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:93:in `index_relation'
08:57:02 rails.1 | 01af3a19 | /home/vagrant/katello/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:36:in `index'
08:57:02 rails.1 | 01af3a19 | /home/vagrant/katello/app/controllers/katello/api/v2/errata_controller.rb:23:in `index'
08:57:02 rails.1 | 01af3a19 | /home/vagrant/foreman/.vendor/ruby/3.0.0/gems/actionpack-7.0.8.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
Updated by The Foreman Bot 12 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11505 added
Updated by Quinn James 12 months ago
- Category set to Content Views
- Target version changed from Katello 4.20.0 to Katello 4.19.0
We're holding off on triaging this issue until we can look into how many versions this affects + scope of the fix.
Updated by Ian Ballou 11 months ago
- Target version changed from Katello 4.19.0 to Katello 4.18.1
- Triaged changed from No to Yes
Updated by Partha Aji 11 months ago
- Status changed from Ready For Testing to New
- Red Hat JIRA set to SAT-38788
Updated by Markus Bucher 11 months ago
- Status changed from New to Closed
Applied in changeset katello|643206864c6a8f14e708a6701b15fb4cdef45798.
Updated by Pavan Soma Shekar 11 months ago
- Fixed in Releases Katello 4.18.1 added
Updated by The Foreman Bot 10 months ago
- Assignee set to Evgeni Golov
- Pull request https://github.com/Katello/katello/pull/11551 added
Updated by Evgeni Golov 10 months ago
- Assignee deleted (
Evgeni Golov) - Pull request deleted (
https://github.com/Katello/katello/pull/11551)
Actions