Bug 1205023 - Disable Download button for reports when no records are found
Summary: Disable Download button for reports when no records are found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.6.0
Assignee: Zita Nemeckova
QA Contact: Nandini Chandra
URL:
Whiteboard: report
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-24 04:40 UTC by Nandini Chandra
Modified: 2016-06-29 14:53 UTC (History)
4 users (show)

Fixed In Version: 5.6.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 14:53:24 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot where download button is not greyed out (45.24 KB, image/png)
2015-03-24 04:40 UTC, Nandini Chandra
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Nandini Chandra 2015-03-24 04:40:30 UTC
Created attachment 1005642 [details]
screenshot where download button is not greyed out

Description of problem:
-----------------------
Download button should be disabled for reports when no records are found.


Version-Release number of selected component (if applicable):
---------------------
5.4.0.0.12


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.
2.
3.


Actual results:
----------------


Expected results:
----------------


Additional info:
----------------

Comment 2 Harpreet Kataria 2016-03-23 17:16:19 UTC
Zita,

Can you look into this one, i this might have already been fixed, we can close this as dup if that's the case. Let me know if you have questions.

Thanks,
~Harpreet

Comment 4 CFME Bot 2016-04-05 09:35:49 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f83a301ddf7b1ed25ab3cef903d1c380bfe18d3e

commit f83a301ddf7b1ed25ab3cef903d1c380bfe18d3e
Author:     Zita Nemeckova <znemecko>
AuthorDate: Mon Apr 4 16:50:30 2016 +0200
Commit:     Zita Nemeckova <znemecko>
CommitDate: Tue Apr 5 10:20:27 2016 +0200

    Disable Download button for reports when no records are found
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1205023
    
    Download button should be disabled for reports when no records are found.

 app/helpers/application_helper/button/basic.rb                  | 2 +-
 app/helpers/application_helper/button/report_download_choice.rb | 5 +++++
 app/helpers/application_helper/toolbar/report_view.rb           | 1 +
 3 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 app/helpers/application_helper/button/report_download_choice.rb

Comment 6 Nandini Chandra 2016-04-18 17:02:14 UTC
Verified in 5.6.0.1-beta2.20160413141124_e25ac0e

Comment 8 errata-xmlrpc 2016-06-29 14:53:24 UTC
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/RHBA-2016:1348


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