Bug 1209186

Summary: Class cannot update values in a class schema when Instances of that class exist.
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: akarol, dajohnso, dclarizi, hkataria, jhardy, jprause, kmorey, ldomb, mberube, mkanoor, mpovolny, obarenbo, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.5.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1205779 Environment:
Last Closed: 2015-07-15 12:55:04 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: 1205779    
Bug Blocks:    

Comment 4 CFME Bot 2015-04-06 17:05:52 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=16806d3e5701c50cd6abddb05328454905bc2e40

commit 16806d3e5701c50cd6abddb05328454905bc2e40
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Mar 30 19:04:21 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Apr 6 12:54:07 2015 -0400

    Use params fields_password_value_x to set field value for password field
    
    If data type is changed to password when adding new schema field, don't show value entered in plain text, switch to password field.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1205779
    (cherry picked from commit ffddb11)
    https://bugzilla.redhat.com/show_bug.cgi?id=1209186

 vmdb/app/controllers/miq_ae_class_controller.rb | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Comment 5 CFME Bot 2015-04-06 17:05:59 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=e7d3e2cb1672d41c9696e21c193e2c8684dd54f7

commit e7d3e2cb1672d41c9696e21c193e2c8684dd54f7
Merge: 73da371 16806d3
Author:     Dan Clarizio <dclarizi>
AuthorDate: Mon Apr 6 13:02:19 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Mon Apr 6 13:02:19 2015 -0400

    Merge branch 'bz_1209186' into '5.3.z'
    
    Use params fields_password_value_x to set field value for password field
    
    16806d3e5701c50cd6abddb05328454905bc2e40
    Harpreet Kataria at 3/30/15 7:04 PM (committed at 4/6/15 12:54 PM)
    
    Use params fields_password_value_x to set field value for password field
    
    If data type is changed to password when adding new schema field, don't show value entered in plain text, switch to password field.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1205779
    (cherry picked from commit ffddb11)
    https://bugzilla.redhat.com/show_bug.cgi?id=1209186
    
    @dclarizio please review, had to make JS changes by hand in controller as we have JS helper methods on master now. Recreated/Tested on 5.3.z
    
    See merge request !23

 vmdb/app/controllers/miq_ae_class_controller.rb | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Comment 7 Aziza Karol 2015-07-01 15:37:47 UTC
Able to update password in Class schema

Verified:
5.3.5.1.20150630091250_5515226

Comment 9 errata-xmlrpc 2015-07-15 12:55:04 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-1223.html