Bug 1335100
| Summary: | Policy creation dialog is broken if search button was pressed. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Dmitry Misharov <dmisharo> | ||||
| Component: | UI - OPS | Assignee: | Milan Zázrivec <mzazrivec> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.6.0 | CC: | hkataria, jhardy, mpovolny, obarenbo, simaishi | ||||
| Target Milestone: | GA | ||||||
| Target Release: | 5.6.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | control | ||||||
| Fixed In Version: | 5.6.0.7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1357465 (view as bug list) | Environment: | |||||
| Last Closed: | 2016-06-29 16:01:54 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1357465 | ||||||
| Attachments: |
|
||||||
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(-) Verified fixed in 5.6.0.7-beta2.6.20160516171555_b1be31f. 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 |
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.