Bug 54847

Summary: Cut & Paste is broken with tree multi-selection
Product: JMeter Reporter: benoit.wiart
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2 Keywords: PatchAvailable
Version: 2.9   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: patch

Description benoit.wiart 2013-04-15 12:33:33 UTC
Created attachment 30196 [details]
patch

(*) are the selected nodes

TG1
	Sampler 1
	Sampler 2
	TransactionCtl (*)
		Sampler 3 (*)
TG2
	Sampler 4
	Sampler 5
	
If you do a cut and paste in TG2, the result will be
TG1
	Sampler 1
	Sampler 2
TG2
	Sampler 4
	Sampler 5
	TransactionCtl
		Sampler 3
	Sampler 3

The sampler 3 is duplicated.

Benoit WIART
UBIK Ingenierie
Comment 1 Philippe Mouawad 2013-04-15 19:52:52 UTC
Thanks applied with a change to also handle Copy.


Date: Mon Apr 15 19:52:08 2013
New Revision: 1468204

URL: http://svn.apache.org/r1468204
Log:
Bug 54847 - Cut & Paste is broken with tree multi-selection
Bugzilla Id: 54847

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Copy.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Cut.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Philippe Mouawad 2013-04-16 11:30:45 UTC
Date: Tue Apr 16 11:29:14 2013
New Revision: 1468374

URL: http://svn.apache.org/r1468374
Log:
Bug 54847 - Cut & Paste is broken with tree multi-selection
Take into account sebb remark on dev mailing list
Bugzilla Id: 54847

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Copy.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/Cut.java