fix browse buttons on delete transform (not using variables)
@@ -418,7 +418,7 @@ public class DeleteDialog extends BaseTransformDialog implements ITransformDialo
colInfo.setComboValues(new String[] {});
}
if (!Utils.isEmpty(tableName)) {
- DatabaseMeta databaseMeta = pipelineMeta.findDatabase(connectionName);
+ DatabaseMeta databaseMeta = pipelineMeta.findDatabase(connectionName,variables);
if (databaseMeta != null) {
Database database = new Database(loggingObject, variables, databaseMeta);
try {
@@ -505,7 +505,7 @@ public class DeleteDialog extends BaseTransformDialog implements ITransformDialo
}
private void getSchemaNames() {
- DatabaseMeta databaseMeta = pipelineMeta.findDatabase(wConnection.getText());
+ DatabaseMeta databaseMeta = pipelineMeta.findDatabase(wConnection.getText(),variables);
if (databaseMeta != null) {
Database database = new Database(loggingObject, variables, databaseMeta);
try {
@@ -551,7 +551,7 @@ public class DeleteDialog extends BaseTransformDialog implements ITransformDialo
if (StringUtils.isEmpty(connectionName)) {
return;
}
- DatabaseMeta databaseMeta = pipelineMeta.findDatabase(connectionName);
+ DatabaseMeta databaseMeta = pipelineMeta.findDatabase(connectionName,variables);
if (databaseMeta != null) {
logDebug(
BaseMessages.getString(PKG, "DeleteDialog.Log.LookingAtConnection")
