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


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