Actions
Bug #21337
closedConfig reports detail page broken
Description
I think this is caused by Rails 5, anyway it seems the reports page is broken. The structure of data seems to change.
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4914 added
Updated by Marek Hulán about 7 years ago
The trace
2017-10-16T11:17:48 d78d1da1 [app] [F] 2017-10-16T11:17:48 d78d1da1 [app] [F] ActionView::Template::Error (no implicit conversion of Symbol into Integer): 2017-10-16T11:17:48 d78d1da1 [app] [F] 5: <div class="stats-well"> | 6: <h4 class="ca" ><%= _('Report Metrics') %></h4> | 7: <div style="margin-top:50px;padding-bottom: 40px;"> | 8: <%= flot_pie_chart("metrics" ,_("Report Metrics"), metrics, :class => "statistics-pie small")%> | 9: </div> | 10: </div> | 11: </div> 2017-10-16T11:17:48 d78d1da1 [app] [F] 2017-10-16T11:17:48 d78d1da1 [app] [F] app/helpers/application_helper.rb:269:in `[]' | app/helpers/application_helper.rb:269:in `block in flot_pie_chart' | app/helpers/application_helper.rb:269:in `flot_pie_chart' | app/views/config_reports/_metrics.html.erb:8:in `_e9e8d102d76db936a622c788eae56b25' | app/views/config_reports/show.html.erb:16:in `_9a3f93abd48159ba7b2df2eb11def5e2' | app/controllers/concerns/application_shared.rb:15:in `set_timezone' | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' | app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' | lib/middleware/catch_json_parse_errors.rb:8:in `call' | lib/middleware/session_safe_logging.rb:17:in `call' | lib/middleware/tagged_logging.rb:18:in `call' 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendering /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendering /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/_source.html.erb 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendered /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.9ms) 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendering /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendered /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendering /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendered /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) 2017-10-16T11:17:50 d78d1da1 [app] [I] Rendered /home/ares/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/actionpack-5.0.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.3ms)
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.0-RC2 to 1.16.0-RC1
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.0-RC1 to 1.16.2
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.2 to 1.16.1
Updated by Marek Hulán almost 7 years ago
- Target version changed from 1.16.1 to 238
Updated by Marek Hulán almost 7 years ago
- Status changed from Ready For Testing to Rejected
Updated by Marek Hulán over 6 years ago
- Related to Bug #22809: [Foreman 1.17] Bug on host creation after migration added
Actions