Bug 57061 - Save as Test Fragment fails to clone deeply selected node
Summary: Save as Test Fragment fails to clone deeply selected node
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.11
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-06 20:01 UTC by UbikLoadPack support
Modified: 2014-10-06 20:32 UTC (History)
1 user (show)



Attachments
Test plan showing issue (23.47 KB, text/plain)
2014-10-06 20:01 UTC, UbikLoadPack support
Details
Patch fixing issue (1.95 KB, patch)
2014-10-06 20:04 UTC, UbikLoadPack support
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 4 The ASF infrastructure team 2022-09-24 20:37:58 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3447