Bug 1203022 - comparison of String with 0 failed [report/form_field_changed] error while creating chargeback report
Summary: comparison of String with 0 failed [report/form_field_changed] error while cr...
Keywords:
Status: CLOSED DUPLICATE of bug 1201531
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Dan Clarizio
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-17 22:22 UTC by Nandini Chandra
Modified: 2015-03-19 19:01 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 19:01:32 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
chargeback filters (42.67 KB, image/png)
2015-03-17 22:22 UTC, Nandini Chandra
no flags Details

Description Nandini Chandra 2015-03-17 22:22:03 UTC
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:
---------------

Comment 2 Jason Frey 2015-03-19 14:23:31 UTC
This might be from the sort/sort_by change I made.

Comment 5 Dave Johnson 2015-03-19 18:08:44 UTC
Nandini, please reproduce and attach any stack traces from the logs in a comment please.

Comment 8 Nandini Chandra 2015-03-19 18:56:11 UTC
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'


Note You need to log in before you can comment on or make changes to this bug.