Description of problem: ----------------------- The web UI blows up on the provider summary page when clicking on the 'Templates' from both the accordion and the Relationships table. Snippet from production.log : [----] F, [2015-09-30T13:01:59.167472 #2874:c7d990] FATAL -- : Error caught: [NoMethodError] undefined method `gsub' for 1000000000001:Fixnum /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/helpers/javascript_helper.rb:27:in `escape_javascript' /var/www/miq/vmdb/app/views/layouts/_dhtmlxgrid.html.haml:10:in `_app_views_layouts__dhtmlxgrid_html_haml__596040219086309014_190458440' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/template.rb:145:in `block in render' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/template.rb:333:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/template.rb:143:in `render' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:310:in `block in render' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:309:in `render' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:47:in `render_partial' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:21:in `render' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/helpers/rendering_helper.rb:32:in `render' /opt/rh/cfme-gemset/bundler/gems/jquery-rjs-33e0fc1c0b25/lib/jquery-rjs/rendering.rb:8:in `render_with_update' /var/www/miq/vmdb/app/views/layouts/gtl/_list.html.haml:12:in `_app_views_layouts_gtl__list_html_haml___269243815765513145_191398640' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/template.rb:145:in `block in render' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/template.rb:333:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/template.rb:143:in `render' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:310:in `block in render' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/cfme-gemset/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' /opt/rh/cfme-gemset/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:309:in `render' Version-Release number of selected component (if applicable): ----------------------------- 5.5.0.3 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. 2. 3. Actual results: -------------- Expected results: ----------------- Additional info: ---------------
*** Bug 1267825 has been marked as a duplicate of this bug. ***
*** Bug 1267809 has been marked as a duplicate of this bug. ***
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/f01845585242f5114d9838a13eb8152e13b01760 commit f01845585242f5114d9838a13eb8152e13b01760 Author: Keenan Brock <kbrock> AuthorDate: Thu Oct 1 10:50:57 2015 -0400 Commit: Keenan Brock <kbrock> CommitDate: Thu Oct 1 12:55:27 2015 -0400 fix undefined method gsub for 100001:Fixnum introduced in 902ab945c9be11661552c317a47134d409fee51a https://bugzilla.redhat.com/show_bug.cgi?id=1267700 app/views/layouts/_dhtmlxgrid.html.haml | 2 +- spec/views/layouts/dhtmlxgrid.html.haml_spec.rb | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 spec/views/layouts/dhtmlxgrid.html.haml_spec.rb
Verified in 5.5.0.7
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551