Bug 1381893 - undefined method `split' for nil:NilClass when clicked on configuration management providers in accordion
Summary: undefined method `split' for nil:NilClass when clicked on configuration manag...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: cfme-future
Assignee: lgalis
QA Contact: Aziza Karol
URL:
Whiteboard: ui:foreman
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-05 10:04 UTC by Aziza Karol
Modified: 2016-10-20 05:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-20 05:47:20 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)

Description Aziza Karol 2016-10-05 10:04:49 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.7.0.3

How reproducible:
100%

Steps to Reproduce:
1.Navigate to configuration management
2.Add Red Hat satellite provider 

Actual results:
Error caught: [NoMethodError] undefined method `split' for nil:NilClass displayed in  production.log

Expected results:


Additional info:
production.log
2:05 -0400
[----] I, [2016-10-05T06:02:05.584511 #14059:d46f5c]  INFO -- : Processing by ProviderForemanController#tree_select as JS
[----] I, [2016-10-05T06:02:05.584715 #14059:d46f5c]  INFO -- :   Parameters: {"id"=>"fr-2"}
[----] F, [2016-10-05T06:02:05.631905 #14059:d46f5c] FATAL -- : Error caught: [NoMethodError] undefined method `split' for nil:NilClass
/var/www/miq/vmdb/app/models/miq_report/search.rb:15:in `association_column'
/var/www/miq/vmdb/app/models/miq_report/search.rb:47:in `block in get_order_info'
/var/www/miq/vmdb/app/models/miq_report/search.rb:46:in `collect'
/var/www/miq/vmdb/app/models/miq_report/search.rb:46:in `get_order_info'
/var/www/miq/vmdb/app/models/miq_report/search.rb:92:in `paged_view_search'
/var/www/miq/vmdb/app/controllers/application_controller.rb:1594:in `get_view'
/var/www/miq/vmdb/app/controllers/application_controller/ci_processing.rb:1615:in `process_show_list'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:1176:in `process_show_list'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:609:in `provider_node'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:637:in `provider_list'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:568:in `get_node_info'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:841:in `leaf_record'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:827:in `replace_right_cell'
/var/www/miq/vmdb/app/controllers/provider_foreman_controller.rb:277:in `tree_select'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb:188:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:126:in `call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:455:in `call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/rescue.rb:20:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164:in `block in instrument'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/notifications.rb:164:in `instrument'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
/opt/rh/cfme-gemset/gems/activerecord-5.0.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/abstract_controller/base.rb:126:in `process'
/opt/rh/cfme-gemset/gems/actionview-5.0.0.1/lib/action_view/rendering.rb:30:in `process'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb:190:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_controller/metal.rb:262:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:32:in `serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:39:in `block in serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:26:in `each'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/journey/router.rb:26:in `serve'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/routing/route_set.rb:725:in `call'
/opt/rh/cfme-gemset/gems/secure_headers-3.0.3/lib/secure_headers/middleware.rb:10:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/etag.rb:25:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/conditional_get.rb:38:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/head.rb:12:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:222:in `context'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/session/abstract/id.rb:216:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/cookies.rb:613:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:97:in `__run_callbacks__'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/callbacks.rb:36:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:36:in `call_app'
/opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/rack/logger.rb:26:in `call'
/opt/rh/cfme-gemset/gems/request_store-1.3.1/lib/request_store/middleware.rb:9:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/request_id.rb:24:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/method_override.rb:22:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/runtime.rb:22:in `call'
/opt/rh/cfme-gemset/gems/activesupport-5.0.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
/opt/rh/cfme-gemset/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/executor.rb:12:in `call'
/opt/rh/cfme-gemset/gems/rack-2.0.1/lib/rack/sendfile.rb:111:in `call'
/opt/rh/cfme-gemset/gems/railties-5.0.0.1/lib/rails/engine.rb:522:in `call'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/configuration.rb:224:in `call'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:561:in `handle_request'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:406:in `process_client'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/server.rb:271:in `block in run'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/puma-3.3.0/lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] I, [2016-10-05T06:02:05.633491 #14059:d46f5c]  INFO -- :   Rendered layouts/_exception_contents.html.haml (0.2ms

Comment 3 Harpreet Kataria 2016-10-07 21:01:24 UTC
Laura,

Can you look into this issue, i was not able to recreate it locally.

Thanks,
~Harpreet

Comment 4 Dave Johnson 2016-10-12 15:42:35 UTC
Aziza, can you clarify this one, can you add the provider?  The summary vs the description doesn't seem to match and not exactly sure what you are saying here.  Does the same occur in 5.6?

Comment 6 Aziza Karol 2016-10-13 06:26:18 UTC
Dave, I just missed adding the last step.

step to reproduce:
1.Navigate to configuration management
2.Add Red Hat satellite provider
3.click on the "All configuration management providers" in the accordion tree.

This issue does not not exist in 5.6.

Comment 7 Aziza Karol 2016-10-13 06:48:57 UTC
Laura, 

I was not able to reproduce it on the latest build 5.7.0.4.It seems like the issue is fixed but i observed another issue while sorting the url which is logged in bz https://bugzilla.redhat.com/show_bug.cgi?id=1384330.

Thanks,
Aziza

Comment 9 Aziza Karol 2016-10-20 05:47:20 UTC
Sure. will close it.

Thanks,
Aziza


Note You need to log in before you can comment on or make changes to this bug.