Bug 1592140

Summary: Copying a method does not copy embedded methods that have been added
Product: Red Hat CloudForms Management Engine Reporter: Brant Evans <brant.evans>
Component: AutomateAssignee: Patrik Kománek <pkomanek>
Status: CLOSED CURRENTRELEASE QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: ccoupel, cpelland, ekin.meroglu, gmccullo, jprause, jwarnica, mkanoor, obarenbo, pkomanek, simaishi, smallamp, tfitzger, wfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1595445 (view as bug list) Environment:
Last Closed: 2019-02-11 14:00:18 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: 1595445    

Description Brant Evans 2018-06-17 18:09:46 UTC
Description of problem:
When copying a method within the automate model the copied method does not have the Embedded Methods that are a part of the source method

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

How reproducible:
Always

Steps to Reproduce:
1. Create a method in the automate model that has one or more Embedded Methods added
2. Copy the method to a new name


Actual results:
The Embedded Methods defined in the source method are not defined in the copy.

Expected results:
The Embedded Methods defined in the source method are defined in the copy.

Additional info:

Comment 3 William Fitzgerald 2018-06-21 15:33:06 UTC
The copy isn't copying the embedded method with the source method. I tried on 5.9.2.4, 5.9.3.0 and master.
I tried copying with the same name and with a new name.

Comment 5 Patrik Kománek 2018-06-26 14:14:37 UTC
Solved in: https://github.com/ManageIQ/manageiq-automation_engine/pull/193

Comment 7 William Fitzgerald 2018-08-13 13:47:21 UTC
*** Bug 1614854 has been marked as a duplicate of this bug. ***

Comment 8 Satyajit Bulage 2018-12-06 16:21:37 UTC
Able to see copied Embedded Method along with Path.

Verified Version: 5.10.0.25.20181120211723_d2fd659

Comment 9 Patrik Kománek 2019-07-03 07:51:21 UTC
*** Bug 1576075 has been marked as a duplicate of this bug. ***