| Summary: | UI: Cloud Subnets Download as pdf throws "undefined method `paged_view_search' for nil:NilClass [cloud_subnet/download_data]" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satyajit Bulage <sbulage> | ||||
| Component: | UI - OPS | Assignee: | Brian McLaughlin <bmclaugh> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Satyajit Bulage <sbulage> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.7.0 | CC: | dajohnso, hkataria, jhardy, mpovolny, obarenbo | ||||
| Target Milestone: | GA | ||||||
| Target Release: | cfme-future | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | sdn:ui:error | ||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-10-02 14:30:25 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | CFME Core | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Brian, Can you see if you can recreate this issue, i was nto able to recreate on upstream codebase, maybe ask for additional info if it can not be recreated. Thanks, ~Harpreet Dear customer, The CloudForms team is reviewing the current CloudForms Bug(defect) backlog in order to target engineering efforts. We are closing any bugs for versions that no longer have an active errata stream or that have hit their age limit. We are committing to better management of the backlog as we move forward. If you have an bug that you are still able to reproduce on a current version of CloudForms please open a new bug. If you have any concerns about this, please let us know. Thanks and regards! Dear customer, The CloudForms team is reviewing the current CloudForms Bug(defect) backlog in order to target engineering efforts. We are closing any bugs for versions that no longer have an active errata stream or that have hit their age limit. We are committing to better management of the backlog as we move forward. If you have an bug that you are still able to reproduce on a current version of CloudForms please open a new bug. If you have any concerns about this, please let us know. Thanks and regards! |
Created attachment 1208884 [details] Screenshot showing actual results Description of problem:When clicking on Download button via supmmary page of Cloud Subnet page throwing error "undefined method `paged_view_search' for nil:NilClass [cloud_subnet/download_data]". Version-Release number of selected component (if applicable):5.7.0.4-alpha1.20161005153002_cfc8a23 How reproducible:100% Steps to Reproduce: 1.Navigate to Networks --> Subnets 2.Select any Subnet 3.From summary page click on Download button Actual results:Throwing "undefined method `paged_view_search' for nil:NilClass [cloud_subnet/download_data]" Expected results: Files should be download without any error Additional info: Production Logs: [----] I, [2016-10-10T10:13:08.911519 #11800:1418fc4] INFO -- : Started GET "/cloud_subnet/download_data?download_type=pdf" for 127.0.0.1 at 2016-10-10 10:13:08 -0400 [----] I, [2016-10-10T10:13:08.914876 #11800:1418fc4] INFO -- : Processing by CloudSubnetController#download_data as HTML [----] I, [2016-10-10T10:13:08.915048 #11800:1418fc4] INFO -- : Parameters: {"download_type"=>"pdf"} [----] F, [2016-10-10T10:13:08.942958 #11800:1418fc4] FATAL -- : Error caught: [NoMethodError] undefined method `paged_view_search' for nil:NilClass /var/www/miq/vmdb/app/controllers/application_controller/report_downloads.rb:106:in `download_data' /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:25: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-10T10:13:08.944535 #11800:1418fc4] INFO -- : Rendering layouts/exception.html.haml within layouts/application [----] I, [2016-10-10T10:13:08.945226 #11800:1418fc4] INFO -- : Rendered layouts/_exception_contents.html.haml (0.2ms) [----] I, [2016-10-10T10:13:08.945452 #11800:1418fc4] INFO -- : Rendered layouts/exception.html.haml within layouts/application (0.7ms) [----] I, [2016-10-10T10:13:08.945812 #11800:1418fc4] INFO -- : Rendered layouts/_doctype.html.haml (0.0ms) [----] I, [2016-10-10T10:13:08.948720 #11800:1418fc4] INFO -- : Rendered stylesheets/_template50.html.haml (0.1ms) [----] I, [2016-10-10T10:13:08.951254 #11800:1418fc4] INFO -- : Rendered layouts/_i18n_js.html.haml (1.7ms) [----] I, [2016-10-10T10:13:08.952825 #11800:1418fc4] INFO -- : Rendered layouts/_about_modal.html.haml (0.9ms) [----] I, [2016-10-10T10:13:08.962498 #11800:1418fc4] INFO -- : Rendered layouts/_user_options.html.haml (9.0ms) [----] I, [2016-10-10T10:13:08.963041 #11800:1418fc4] INFO -- : Rendered layouts/_spinner.html.haml (0.1ms) [----] I, [2016-10-10T10:13:08.963424 #11800:1418fc4] INFO -- : Rendered layouts/_lightbox_panel.html.haml (0.1ms) [----] I, [2016-10-10T10:13:08.963842 #11800:1418fc4] INFO -- : Rendered layouts/_notifications_drawer.html.haml (0.1ms) [----] I, [2016-10-10T10:13:08.964213 #11800:1418fc4] INFO -- : Rendered layouts/_toast_list.html.haml (0.1ms) [----] I, [2016-10-10T10:13:08.964406 #11800:1418fc4] INFO -- : Rendered layouts/_header.html.haml (12.7ms) [----] I, [2016-10-10T10:13:08.996858 #11800:1418fc4] INFO -- : Rendered layouts/_vertical_navbar.html.haml (32.0ms) [----] I, [2016-10-10T10:13:08.997487 #11800:1418fc4] INFO -- : Rendered layouts/_breadcrumbs.html.haml (0.2ms) [----] I, [2016-10-10T10:13:08.997795 #11800:1418fc4] INFO -- : Rendered layouts/_content.html.haml (33.1ms) [----] I, [2016-10-10T10:13:08.998373 #11800:1418fc4] INFO -- : Rendered layouts/_adv_search.html.haml (0.1ms) [----] I, [2016-10-10T10:13:08.998594 #11800:1418fc4] INFO -- : Rendered layouts/_footer.html.haml (0.5ms) [----] I, [2016-10-10T10:13:08.999032 #11800:1418fc4] INFO -- : Completed 500 Internal Server Error in 84ms (Views: 55.3ms | ActiveRecord: 0.0ms) [----] I, [2016-10-10T10:13:11.069193 #11819:19e3260] INFO -- : Started GET "/api/notifications?expand=resources&attributes=details" for 127.0.0.1 at 2016-10-10 10:13:11 -0400 [----] I, [2016-10-10T10:13:11.072164 #11819:19e3260] INFO -- : Processing by Api::NotificationsController#show as JSON [----] I, [2016-10-10T10:13:11.072331 #11819:19e3260] INFO -- : Parameters: {"expand"=>"resources", "attributes"=>"details"} [----] I, [2016-10-10T10:13:11.100937 #11819:19e3260] INFO -- : Completed 200 OK in 28ms (Views: 0.4ms | ActiveRecord: 0.0ms) [----] I, [2016-10-10T10:13:11.596405 #11800:140e0c4] INFO -- : Started GET "/static/notification_drawer/notification-subheading.html" for 127.0.0.1 at 2016-10-10 10:13:11 -0400 [----] I, [2016-10-10T10:13:11.598459 #11800:140e0c4] INFO -- : Processing by StaticController#show as HTML [----] I, [2016-10-10T10:13:11.598555 #11800:140e0c4] INFO -- : Parameters: {"id"=>"notification_drawer/notification-subheading.html"} [----] I, [2016-10-10T10:13:11.599268 #11800:140e0c4] INFO -- : Rendering static/notification_drawer/notification-subheading.html.haml [----] I, [2016-10-10T10:13:11.599482 #11800:140e0c4] INFO -- : Rendered static/notification_drawer/notification-subheading.html.haml (0.1ms) [----] I, [2016-10-10T10:13:11.599732 #11800:140e0c4] INFO -- : Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [----] I, [2016-10-10T10:13:11.600776 #11800:14198c0] INFO -- : Started GET "/static/notification_drawer/notification-heading.html" for 127.0.0.1 at 2016-10-10 10:13:11 -0400 [----] I, [2016-10-10T10:13:11.602465 #11800:14198c0] INFO -- : Processing by StaticController#show as HTML [----] I, [2016-10-10T10:13:11.602609 #11800:14198c0] INFO -- : Parameters: {"id"=>"notification_drawer/notification-heading.html"} [----] I, [2016-10-10T10:13:11.603055 #11800:1423f8c] INFO -- : Started GET "/static/notification_drawer/notification-footer.html" for 127.0.0.1 at 2016-10-10 10:13:11 -0400 [----] I, [2016-10-10T10:13:11.604014 #11800:14198c0] INFO -- : Rendering static/notification_drawer/notification-heading.html.haml [----] I, [2016-10-10T10:13:11.615981 #11800:1423f8c] INFO -- : Processing by StaticController#show as HTML [----] I, [2016-10-10T10:13:11.616383 #11800:14198c0] INFO -- : Rendered static/notification_drawer/notification-heading.html.haml (0.1ms) [----] I, [2016-10-10T10:13:11.616570 #11800:1423f8c] INFO -- : Parameters: {"id"=>"notification_drawer/notification-footer.html"} [----] I, [2016-10-10T10:13:11.616922 #11800:14198c0] INFO -- : Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) [----] I, [2016-10-10T10:13:11.617870 #11800:1423f8c] INFO -- : Rendering static/notification_drawer/notification-footer.html.haml [----] I, [2016-10-10T10:13:11.618926 #11800:1423f8c] INFO -- : Rendered static/notification_drawer/notification-footer.html.haml (0.1ms) [----] I, [2016-10-10T10:13:11.619143 #11800:1423f8c] INFO -- : Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) [----] I, [2016-10-10T10:13:12.560999 #11800:1423b54] INFO -- : Started POST "/dashboard/window_sizes?height=639" for 127.0.0.1 at 2016-10-10 10:13:12 -0400 [----] I, [2016-10-10T10:13:12.563155 #11800:1423b54] INFO -- : Processing by DashboardController#window_sizes as JS [----] I, [2016-10-10T10:13:12.563251 #11800:1423b54] INFO -- : Parameters: {"height"=>"639"} [----] I, [2016-10-10T10:13:12.569385 #11800:1423b54] INFO -- : Completed 200 OK in 6ms (ActiveRecord: 0.0ms)