Name of simple controller is resetted if a new simple controller is added as child.
Same applies to other Controllers, e.g. Loop. However, if a different controller is added as a child, the name is not affected. Nor is the name affected if the controller is dragged and dropped as a child.
If a Module Controller is linked to a simple controller and you create a new simple controller then the module controller will change the link to "Simple Controller"
Created attachment 20114 [details] Suggested patch The change in GUIPackage is the same as suggested in bug 39427. The change in AddToTree is to make the adding of items use the same code as the ProxyControl for example, uses to add items to the test plan. The change in AbstractJMeterGuiComponent is to clear the value of the "comment", so that when a new item of a gui class that is already added to the plan, the new item gets an empty comment, and not the same comment as another item in the test plan.
(In reply to comment #3) Note that this patch also solves bug 41078, since it is really the same problem in that bug.
Thanks very much for fixing this long standing bug. Added to SVN in r535134.
Thanks for fixing the bug, will check out the latest SVN release and compile it and see if the problem is fixed. Many thanks for this.
No need to compile it yourself unless you want to. I did a new nightly build recently - r535921 - which will include the fix.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1409