You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by na...@apache.org on 2023/01/13 22:31:54 UTC
[hop] 01/01: Fix #2151 : Can't save Neo4j connection from metadata perspective
This is an automated email from the ASF dual-hosted git repository.
nadment pushed a commit to branch 2151
in repository https://gitbox.apache.org/repos/asf/hop.git
commit 0fd0869da14cab11aebf46d735161c4f543332d3
Author: Nicolas Adment <39...@users.noreply.github.com>
AuthorDate: Fri Jan 13 23:31:27 2023 +0100
Fix #2151 : Can't save Neo4j connection from metadata perspective
---
.../java/org/apache/hop/neo4j/shared/NeoConnectionEditor.java | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/plugins/tech/neo4j/src/main/java/org/apache/hop/neo4j/shared/NeoConnectionEditor.java b/plugins/tech/neo4j/src/main/java/org/apache/hop/neo4j/shared/NeoConnectionEditor.java
index 857d081909..f8effebd6c 100644
--- a/plugins/tech/neo4j/src/main/java/org/apache/hop/neo4j/shared/NeoConnectionEditor.java
+++ b/plugins/tech/neo4j/src/main/java/org/apache/hop/neo4j/shared/NeoConnectionEditor.java
@@ -160,6 +160,7 @@ public class NeoConnectionEditor extends MetadataEditor<NeoConnection> {
wBrowserPort,
wPolicy,
wUsername,
+ wPassword,
wRouting,
wEncryption,
wTrustAllCertificates,
@@ -168,7 +169,7 @@ public class NeoConnectionEditor extends MetadataEditor<NeoConnection> {
wMaxConnectionPoolSize,
wConnectionAcquisitionTimeout,
wConnectionTimeout,
- wMaxTransactionRetryTime,
+ wMaxTransactionRetryTime
};
for (Control control : controls) {
control.addListener(SWT.Modify, e -> setChanged());
@@ -505,14 +506,8 @@ public class NeoConnectionEditor extends MetadataEditor<NeoConnection> {
ColumnInfo.COLUMN_TYPE_TEXT)
},
getMetadata().getManualUrls().size(),
- e -> setChanged(),
+ e -> { setChanged(); enableFields(); },
props);
- wUrls.table.addListener(SWT.Selection, e -> enableFields());
- wUrls.table.addListener(SWT.MouseDown, e -> enableFields());
- wUrls.table.addListener(SWT.MouseUp, e -> enableFields());
- wUrls.table.addListener(SWT.FocusIn, e -> enableFields());
- wUrls.table.addListener(SWT.FocusOut, e -> enableFields());
- wUrls.addModifyListener(e -> enableFields());
FormData fdUrls = new FormData();
fdUrls.top = new FormAttachment(0, 0);