t3-innovation-network / OCF-Collab

0 stars 0 forks source link

[Airbrake] [Production] undefined method `map' for "[object Object]":String #35

Open edgarf opened 6 months ago

edgarf commented 6 months ago

Airbrake error: #6526 Airbrake project: OCN RB

Error type: NoMethodError Error message: undefined method `map' for "[object Object]":String Where: search#index Occurred at: Apr 23, 2024 23:02:58 UTC First seen at: Apr 23, 2024 23:02:58 UTC Occurrences: 0 (0 since last deploy on Apr 10, 2024 13:00:06 UTC) Severity: error

URL: https://broker.ocf-collab.org/search?facets=[object%20Object]&page=1&per_page=100&per_container=50 File: /PROJECT_ROOT/app/sanitizers/search_params_sanitizer.rb

Backtrace:

/PROJECT_ROOT/app/sanitizers/search_params_sanitizer.rb:6:in block in <class:SearchParamsSanitizer>
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/clean_field.rb:35:in convert_value
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/clean_field.rb:27:in convert_single
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/clean_field.rb:19:in convert
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/clean_field.rb:4:in call
/GEM_ROOT/gems/method_struct-0.3.0/lib/method_struct.rb:29:in block (3 levels) in new
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/sanitizer.rb:119:in clean_field
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/sanitizer.rb:107:in block in perform_clean
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/sanitizer.rb:107:in each
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/sanitizer.rb:107:in perform_clean
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/sanitizer.rb:20:in cleaned
/GEM_ROOT/gems/input_sanitizer-0.5.0/lib/input_sanitizer/v1/sanitizer.rb:27:in valid?
/PROJECT_ROOT/app/controllers/brokerage/base_controller.rb:17:in sanitize_params!
/PROJECT_ROOT/app/controllers/brokerage/search_controller.rb:16:in block in index
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/controllers/brokerage/search_controller.rb:4:in index
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/base.rb:224:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/rendering.rb:165:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/callbacks.rb:259:in block in process_action
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:121:in block in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/controllers/brokerage/base_controller.rb:25:in tag_transaction_logger
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:130:in block in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:141:in run_callbacks
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/callbacks.rb:258:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/rescue.rb:25:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/instrumentation.rb:74:in block in process_action
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications.rb:206:in block in instrument
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications/instrumenter.rb:58:in instrument
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications.rb:206:in instrument
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/instrumentation.rb:73:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/params_wrapper.rb:261:in process_action
/GEM_ROOT/gems/searchkick-5.2.1/lib/searchkick/controller_runtime.rb:15:in process_action
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/railties/controller_runtime.rb:32:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/base.rb:160:in process
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal.rb:227:in dispatch
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal.rb:309:in dispatch
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/routing/route_set.rb:49:in dispatch
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/routing/route_set.rb:32:in serve
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:51:in block in serve
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:131:in block in find_routes
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:124:in each
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:124:in find_routes
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:32:in serve
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/routing/route_set.rb:882:in call
...

Visit Airbrake error to view the full backtrace.