Project

General

Profile

Bug #21337

Config reports detail page broken

Added by Marek Hulán 10 months ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I think this is caused by Rails 5, anyway it seems the reports page is broken. The structure of data seems to change.


Related issues

Related to Foreman - Bug #22809: [Foreman 1.17] Bug on host creation after migrationClosed2018-03-07

History

#1 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4914 added

#2 Updated by Marek Hulán 10 months 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)

#3 Updated by Marek Hulán 10 months ago

  • Target version changed from 1.16.0-RC2 to 1.16.0-RC1

#4 Updated by Marek Hulán 10 months ago

  • Target version changed from 1.16.0-RC1 to 1.16.2

#5 Updated by Marek Hulán 9 months ago

  • Target version changed from 1.16.2 to 1.16.1

#6 Updated by Marek Hulán 8 months ago

  • Target version changed from 1.16.1 to 238

#7 Updated by Marek Hulán 7 months ago

  • Status changed from Ready For Testing to Rejected

#8 Updated by Marek Hulán 4 months ago

  • Related to Bug #22809: [Foreman 1.17] Bug on host creation after migration added

Also available in: Atom PDF