You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2021/03/20 12:22:31 UTC

[jmeter] branch master updated: Can't copy generated function from FunctionHelper

This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new c727934  Can't copy generated function from FunctionHelper
c727934 is described below

commit c7279348335b820c35ee570462cb2e0b4eb1c370
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Sat Mar 20 13:21:57 2021 +0100

    Can't copy generated function from FunctionHelper
    
    Bugzilla Id: 65198
---
 .../src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java    | 1 +
 xdocs/changes.xml                                                        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java b/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java
index 3437fd5..d03df40 100644
--- a/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java
+++ b/src/core/src/main/java/org/apache/jmeter/functions/gui/FunctionHelper.java
@@ -239,6 +239,7 @@ public class FunctionHelper extends JDialog implements ActionListener, ChangeLis
             Arguments args = (Arguments) parameterPanel.createTestElement();
             String functionCall = buildFunctionCallString(functionName, args);
             cutPasteFunction.setText(functionCall);
+            cutPasteFunction.setEnabled(true);
             GuiUtils.copyTextToClipboard(cutPasteFunction.getText());
             CompoundVariable function = new CompoundVariable(functionCall);
             JMeterContext threadContext = JMeterContextService.getContext();
diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 594d28b..d4f0037 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -178,6 +178,7 @@ Summary
   <li><bug>64318</bug>DNS Cache Manager - custom DNS resolver does not use system resolver by default</li>
   <li><pr>641</pr>Updated xercesImpl to 2.12.1 (from 2.12.0). Based on patch by Stefan Seide (stefan at trilobyte-se.de).</li>
   <li><pr>645</pr>Add escaping for new lines in AbstractInfluxdbMetricsSender. Contributed by David Getzlaff (david.getzlaff at t-systems.com>)</li>
+  <li><bug>65198</bug>Can't copy generated function from FunctionHelper</li>
 </ul>
 
  <!--  =================== Thanks =================== -->