Bug 1440226

Summary: Automate import does not update display_name and description attributes in Namespace objects
Product: Red Hat CloudForms Management Engine Reporter: mkanoor
Component: AutomateAssignee: mkanoor
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: jhardy, mfalesni, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate:import_export
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1440574 1442865 (view as bug list) Environment:
Last Closed: 2018-03-06 15:05:08 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: 1440574, 1442865    

Description mkanoor 2017-04-07 15:30:26 UTC
Description of problem:
During import of Automate models the namespace attributes are not being updated

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


How reproducible:


Steps to Reproduce:
1. Export an Automate model
2. Change the display name and description in the exported namespace yaml file
3. Run an import with the updated data
4. Check if the namespace attributes get updated.

Actual results:
Display_name and description doesn't get updated

Expected results:
Display name and description attributes should get updated

Additional info:

Comment 3 CFME Bot 2017-04-07 18:41:46 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e9681bb0a2009d949c0c153ef92ad6c7ad34b5e3

commit e9681bb0a2009d949c0c153ef92ad6c7ad34b5e3
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Fri Apr 7 11:32:05 2017 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Fri Apr 7 11:32:05 2017 -0400

    Display name and description not getting updated
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1440226
    
    In the Namespace object the display name and description
    attributes were not getting updated.

 lib/miq_automation_engine/models/miq_ae_yaml_import.rb      |  4 +++-
 .../models/miq_ae_yaml_import_export_spec.rb                | 13 ++++++++++++-
 2 files changed, 15 insertions(+), 2 deletions(-)

Comment 6 Milan Falešník 2017-10-12 11:44:07 UTC
Verified in 5.9.0.1