For example, this test plan : * Test plan ** Thread Group *** MY CONTROLLER LABEL (type Transaction Controller) I select MY CONTROLLER LABEL, right click, Insert Parent > Logic Controller > Transaction Controller. (the same type of MY CONTROLLER LABEL) Result : * Test plan ** Thread Group *** Transaction Controller **** Transaction Controller (Lost name : MY CONTROLLER LABEL) The problem appear only for two controller of same type. If MY CONTROLLER LABEL are TC and I try to insert a Simple Controller Parent, there aren't problem, I don't lost name. (on JMeter 2.3.2 and JMeter last svn release)
Created attachment 23509 [details] Proposal patch In org.apache.jmeter.gui.action.AddParent, the TreeModel isn't marked for update.
Thanks very much for the patch. Applied to SVN: URL: http://svn.apache.org/viewvc?rev=768089&view=rev Log: Bug 47009 - Insert parent caused child controller name to be reset
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2220