Bug 62299 - Duplicate copies embedded elements twice when expanded
Summary: Duplicate copies embedded elements twice when expanded
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 18:24 UTC by Felix Schumacher
Modified: 2018-12-28 10:45 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schumacher 2018-04-13 18:24:55 UTC
When duplicating an element with exapanded children like the following element structure:

 + Sampler A
   - Child A
   Sampler B

Duplicating the structure will result in

 
 + Sampler A
   - Child A
   Sampler B
 + Sampler A
   - Child A <--- (this will actually not be expanded)
   Child A   <--- (this is an unexpected copy and on the wrong level)
   Sampler B
Comment 1 Philippe Mouawad 2018-12-26 14:30:52 UTC
Hi Felix,
Do you still reproduce this issue ?
I am not able to do it in current nightly build.

If you do, could you attach a simple test plan ?
Thanks
Comment 2 Felix Schumacher 2018-12-28 10:44:45 UTC
Yes, I can still reproduce it.

The important part is, that the structure has to be expanded.

I believe, that this causes the child to be selected twice and therefore copied twice. Whereas when the structure is not expanded, the child will not be selected explicitly and copied once, only.
Comment 3 The ASF infrastructure team 2022-09-24 20:38:13 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4759