Bug 1202229

Summary: Policies are not listed to export in the control module
Product: Red Hat CloudForms Management Engine Reporter: Ramesh A <rananda>
Component: ControlAssignee: eclarizi
Status: CLOSED ERRATA QA Contact: Ramesh A <rananda>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: jhardy, mfalesni, obarenbo
Target Milestone: GAFlags: mfalesni: automate_bug+
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:53:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Policy Created
none
Not listed none

Description Ramesh A 2015-03-16 07:42:09 UTC
Created attachment 1002148 [details]
Policy Created

Description of problem:
Control policies are not getting listed to export in the Control==> Import/Export module

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

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Control ==> Explorer module
2. Create a new policy and attach any policy event to it
3. Assign an action to the above event
4. Create a policy profile and assign the above created policy to it
5. Navigate to Control ==> Import/Export module and check the Export section

Actual results:
None of the policy profile, policy or alert gets listed.
Refer the screenshot for more details

Expected results:
All the created policy profile, policy and alerts should get listed to export

Additional info:

Comment 1 Ramesh A 2015-03-16 07:42:37 UTC
Created attachment 1002149 [details]
Not listed

Comment 3 CFME Bot 2015-04-02 21:16:05 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/04671e3bd1562165a78f2dd0d59341779a8f0903

commit 04671e3bd1562165a78f2dd0d59341779a8f0903
Author:     Erik Clarizio <eclarizi>
AuthorDate: Tue Mar 31 01:03:07 2015 -0700
Commit:     Erik Clarizio <eclarizi>
CommitDate: Tue Mar 31 01:03:07 2015 -0700

    Fix display issue with control items not showing up to export
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1202229

 vmdb/app/controllers/miq_policy_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 Ramesh A 2015-04-20 19:28:29 UTC
Good to go.  Verified and working fine in 5.4.0.0.19.20150410165622_ad23806

Comment 7 errata-xmlrpc 2015-06-16 12:53:09 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://rhn.redhat.com/errata/RHBA-2015-1100.html

Comment 8 Milan Falešník 2015-07-08 08:34:41 UTC
Bug test automated in https://github.com/RedHatQE/cfme_tests/pull/2078

Test cfme/tests/control/test_export_policies.py:test_policy_profiles_listed