This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/main by this push:
new 227d973b56 send correct variables to sql dialog in action, fixes #6066
(#6084)
227d973b56 is described below
commit 227d973b5645f7f8b9acb8d8834b6efa2a7e1b88
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Thu Nov 27 10:13:30 2025 +0100
send correct variables to sql dialog in action, fixes #6066 (#6084)
---
.../java/org/apache/hop/workflow/actions/sql/ActionSqlDialog.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/plugins/actions/sql/src/main/java/org/apache/hop/workflow/actions/sql/ActionSqlDialog.java
b/plugins/actions/sql/src/main/java/org/apache/hop/workflow/actions/sql/ActionSqlDialog.java
index 9941437bfc..a77220eec9 100644
---
a/plugins/actions/sql/src/main/java/org/apache/hop/workflow/actions/sql/ActionSqlDialog.java
+++
b/plugins/actions/sql/src/main/java/org/apache/hop/workflow/actions/sql/ActionSqlDialog.java
@@ -274,9 +274,9 @@ public class ActionSqlDialog extends ActionDialog {
wSql =
EnvironmentUtils.getInstance().isWeb()
? new StyledTextComp(
- action, shell, SWT.MULTI | SWT.LEFT | SWT.BORDER |
SWT.H_SCROLL | SWT.V_SCROLL)
+ variables, shell, SWT.MULTI | SWT.LEFT | SWT.BORDER |
SWT.H_SCROLL | SWT.V_SCROLL)
: new SQLStyledTextComp(
- action, shell, SWT.MULTI | SWT.LEFT | SWT.BORDER |
SWT.H_SCROLL | SWT.V_SCROLL);
+ variables, shell, SWT.MULTI | SWT.LEFT | SWT.BORDER |
SWT.H_SCROLL | SWT.V_SCROLL);
wSql.addLineStyleListener(getSqlReservedWords());
PropsUi.setLook(wSql, Props.WIDGET_STYLE_FIXED);
FormData fdSql = new FormData();