Bug 1592140 - Copying a method does not copy embedded methods that have been added
Summary: Copying a method does not copy embedded methods that have been added
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Patrik Kománek
QA Contact: Satyajit Bulage
URL:
Whiteboard:
: 1576075 1614854 (view as bug list)
Depends On:
Blocks: 1595445
TreeView+ depends on / blocked
 
Reported: 2018-06-17 18:09 UTC by Brant Evans
Modified: 2019-11-19 20:57 UTC (History)
13 users (show)

Fixed In Version: 5.10.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1595445 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:00:18 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.