-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix filter tab for chargeback report for all providers #1990
Fix filter tab for chargeback report for all providers #1990
Conversation
…jects or container_images there was a bug, because in @edit[:new][:cb_provider_id] was 'all' and then is it was passes as interger ('all'.to_i == 0 ) to cb_entities_by_provider_id, and there is method find which is failing it didn't find any record
Checked commits lpichler/manageiq-ui-classic@f0a584e~...38b382a with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I ran into this issue yesterday and and have the same fix locally. 👍
This is the BZ for this issue - https://bugzilla.redhat.com/show_bug.cgi?id=1485006. We'll need this fix backported to fine and euwe. @miq-bot add_label chargeback, bug, fine/yes, euwe/yes |
@gtanzillo Cannot apply the following label because they are not recognized: chargeback |
@simaishi cherry-pick is clean for |
Euwe backport (to manageiq repo) details:
|
…report_for_all_providers Fix filter tab for chargeback report for all providers (cherry picked from commit 1c3311d) https://bugzilla.redhat.com/show_bug.cgi?id=1487320
Fine backport details:
|
scenario:
http://g.recordit.co/JOKxoTDcTq.gif
Note: after creating the report, the error message is also thrown as well as on clicking on tab filter after re-editing.
error message
@miq-bot assign @martinpovolny
cc @gtanzillo
can you review please @zeari ?
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1485006