Bug 54847 - Cut & Paste is broken with tree multi-selection
Cut & Paste is broken with tree multi-selection
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
All All
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
: PatchAvailable
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-04-15 12:33 UTC by benoit.wiart
Modified: 2013-04-16 11:30 UTC (History)
1 user (show)



Attachments
patch (1.88 KB, patch)
2013-04-15 12:33 UTC, benoit.wiart
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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