-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
1
-
False
-
rubygem-katello-4.19.0-0.2.pre.master.20251008032147gitdfc038f.el9sat.noarch
-
Artemis Sprint 156
-
sat-artemis
-
None
-
None
-
None
-
None
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:
<pre>
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:
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'
</pre>
- is duplicated by
-
SAT-38579 Selecting a date from the date picker on errata type filter page reports `NameError: undefined local variable or method `date_type'` error.
-
- Closed
-