Created attachment 1002967 [details] chargeback filters Description of problem: ---------------------- I was trying to create a chargeback report Cloud Intelligence->Reports and I encountered this error. comparison of String with 0 failed [report/form_field_changed] error while creating chargeback report Version-Release number of selected component (if applicable): ------------------------ 5.4.0.0.12.20150312013923_aa9b093 How reproducible: ---------------- Always Steps to Reproduce: ------------------ 1.While creating a chargeback report,under the 'Chargeback Filters' option, select 'owner' or 'My company Tag' in the 'Show costs by' dropdown. (See attached screenshot) Actual results: -------------- Expected results: --------------- Additional info: ---------------
This might be from the sort/sort_by change I made.
Nandini, please reproduce and attach any stack traces from the logs in a comment please.
Here's a snippet from production.log: [----] F, [2015-03-19T14:33:12.399565 #2263:badeac] FATAL -- : Error caught: [ArgumentError] comparison of String with 0 failed /var/www/miq/vmdb/app/views/report/_form_filter_chargeback.html.haml:33:in `>' /var/www/miq/vmdb/app/views/report/_form_filter_chargeback.html.haml:33:in `sort' /var/www/miq/vmdb/app/views/report/_form_filter_chargeback.html.haml:33:in `_app_views_report__form_filter_chargeback_html_haml__4212969450141476805_105062180' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/template.rb:145:in `block in render' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications.rb:125:in `instrument' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/template.rb:143:in `render' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/partial_renderer.rb:238:in `block in render' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications.rb:123:in `block in instrument' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/notifications.rb:123:in `instrument' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/partial_renderer.rb:237:in `render' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/renderer.rb:41:in `render_partial' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/renderer/renderer.rb:15:in `render' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_view/helpers/rendering_helper.rb:24:in `render' /opt/rh/cfme-gemset/bundler/gems/jquery-rjs-33e0fc1c0b25/lib/jquery-rjs/rendering.rb:8:in `render_with_update' /opt/rh/cfme-gemset/gems/haml-4.0.6/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' /opt/rh/cfme-gemset/gems/haml-4.0.6/lib/haml/helpers.rb:89:in `non_haml'