Bug 57061

Summary: Save as Test Fragment fails to clone deeply selected node
Product: JMeter Reporter: UbikLoadPack support <support>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 2.11   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Test plan showing issue
Patch fixing issue

Description UbikLoadPack support 2014-10-06 20:01:33 UTC
Created attachment 32084 [details]
Test plan showing issue

Save as Test Fragment introduced in 2.11 does not work correctly when node to save has children.

I only copies the selected node and not its children.

Scenario:
- Select Connexion node
- Right click and select Save as Test Fragment. Save it as included.jmx
- Open included.jmx, it only contains Connexion node without children => BUG


Regards
Ubik Load Pack Team
Comment 1 UbikLoadPack support 2014-10-06 20:04:39 UTC
Created attachment 32085 [details]
Patch fixing issue

Hello,
Find attached the fix to this issue.
Regards
Comment 2 Philippe Mouawad 2014-10-06 20:31:50 UTC
Date: Mon Oct  6 20:29:54 2014
New Revision: 1629759

URL: http://svn.apache.org/r1629759
Log:
Bug 57061 - Save as Test Fragment fails to clone deeply selected node
Bugzilla Id: 57061

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Save.java
    jmeter/trunk/xdocs/changes.xml
Comment 3 Philippe Mouawad 2014-10-06 20:32:07 UTC
Thanks for patch