Bug 1335100 - Policy creation dialog is broken if search button was pressed.
Summary: Policy creation dialog is broken if search button was pressed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: Milan Zázrivec
QA Contact: Dmitry Misharov
URL:
Whiteboard: control
Depends On:
Blocks: 1357465
TreeView+ depends on / blocked
 
Reported: 2016-05-11 11:14 UTC by Dmitry Misharov
Modified: 2016-07-18 09:52 UTC (History)
5 users (show)

Fixed In Version: 5.6.0.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1357465 (view as bug list)
Environment:
Last Closed: 2016-06-29 16:01:54 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of the bug (85.51 KB, image/png)
2016-05-11 11:14 UTC, Dmitry Misharov
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 Dmitry Misharov 2016-05-11 11:14:27 UTC
Created attachment 1156086 [details]
Screenshot of the bug

Description of problem:
Policy creation dialog is broken if search button was pressed.

Version-Release number of selected component (if applicable):
5.6.0.5-beta2.4.20160503153816_1fb554f

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Control->Explorer.
2. Open Policies accordion.
3. Pick any Control or Compliance policy.
4. Press search button in policy search field.
5. Try to add a new policy.

Actual results:
Policy creation dialog is broken. There are no fields, but only buttons "Add" and "Cancel".

Expected results:
Policy creation dialog works.

Comment 2 Milan Zázrivec 2016-05-13 14:33:21 UTC
https://github.com/ManageIQ/manageiq/pull/8689

Comment 3 CFME Bot 2016-05-13 18:50:48 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/59ec3ff396821ccb6f3e50274767f423a9075d61

commit 59ec3ff396821ccb6f3e50274767f423a9075d61
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Fri May 13 16:30:45 2016 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Fri May 13 17:51:50 2016 +0200

    Fix creation of control policy dialog after pressing advanced search
    
    It's the existence of session[:edit][:typ] that needs to drive
    the decision what the edit type would be.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1335100

 app/controllers/miq_policy_controller/policies.rb       |  2 +-
 spec/controllers/miq_policy_controller/policies_spec.rb | 15 ++++++++++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

Comment 4 Dmitry Misharov 2016-05-18 06:10:38 UTC
Verified fixed in 5.6.0.7-beta2.6.20160516171555_b1be31f.

Comment 6 errata-xmlrpc 2016-06-29 16:01:54 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.