Bug 1203005

Summary: "Error caught: [AbstractController::DoubleRenderError] Render" when clicked on all power control buttons from manage policies page
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: high    
Version: 5.3.0CC: akarol, dajohnso, hkataria, jhardy, jprause, mfeifer, mpovolny, nachandr, obarenbo, xlecauch
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.4.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1193847 Environment:
Last Closed: 2015-04-29 13:20:33 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: 1193847    
Bug Blocks:    
Attachments:
Description Flags
screenshot of manage policy page without toolbar buttons none

Comment 2 CFME Bot 2015-03-17 21:40:50 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=f9ee4df30bad6d2be18933c20fd2a434640b07eb

commit f9ee4df30bad6d2be18933c20fd2a434640b07eb
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Mar 17 15:44:22 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Mar 17 17:38:06 2015 -0400

    Fixed issue where pressing form button on sub-list view was blowing up.
    
    - Fixed to not show toolbars when pressing Manage Policies button, there shouldn't be toolbar buttons on forms.
    - Fixed code to build @ view when user pressed save/cancel buttons on forms such as Editing Tags or Managing Policies from sub-list view screens. Moved show_association, show_details methods to a common module and removed individual methods from other controllers.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1193847
    (cherry picked from commit ec1389e)
    https://bugzilla.redhat.com/show_bug.cgi?id=1203005

 .../application_controller/ci_processing.rb        | 53 +++++++++++++++---
 .../application_controller/policy_support.rb       |  1 +
 vmdb/app/controllers/host_controller.rb            | 62 ----------------------
 vmdb/app/controllers/storage_controller.rb         | 60 ---------------------
 vmdb/app/controllers/vm_common.rb                  | 40 --------------
 .../application_controller/ci_processing_spec.rb   | 43 +++++++++++++++
 6 files changed, 89 insertions(+), 170 deletions(-)

Comment 3 CFME Bot 2015-03-18 14:55:59 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=f82f75817da277faf29828781add8ec471d37903

commit f82f75817da277faf29828781add8ec471d37903
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Mar 18 10:55:11 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Mar 18 10:55:11 2015 -0400

    Added missing factory to fix the spec test.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1193847
    (cherry picked from commit ec1389e)
    https://bugzilla.redhat.com/show_bug.cgi?id=1203005

 vmdb/spec/factories/guest_application.rb | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 vmdb/spec/factories/guest_application.rb

Comment 5 Nandini Chandra 2015-04-21 21:32:09 UTC
Verified that toolbar buttons(power control buttons) don't show once we navigate away from the host summary page.

Verified in 5.3.4.2.20150415125246_f5d5c91.

Comment 6 Nandini Chandra 2015-04-21 21:41:07 UTC
Created attachment 1017151 [details]
screenshot of manage policy page without toolbar buttons

Comment 8 errata-xmlrpc 2015-04-29 13:20:33 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-0890.html