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 3a25d9211d Fix #5978 "Check server identity" in "Mail" action should 
be greyed out when "Use secure authentication" is unchecked (#6126)
3a25d9211d is described below

commit 3a25d9211dbcbb7bc75a1bc8f6bbc1a705fe142c
Author: Sergio Ramazzina <[email protected]>
AuthorDate: Fri Dec 5 15:06:46 2025 +0100

    Fix #5978 "Check server identity" in "Mail" action should be greyed out 
when "Use secure authentication" is unchecked (#6126)
---
 .../java/org/apache/hop/mail/pipeline/transforms/mail/MailDialog.java   | 2 +-
 .../org/apache/hop/mail/workflow/actions/mail/ActionMailDialog.java     | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/plugins/misc/mail/src/main/java/org/apache/hop/mail/pipeline/transforms/mail/MailDialog.java
 
b/plugins/misc/mail/src/main/java/org/apache/hop/mail/pipeline/transforms/mail/MailDialog.java
index 4785cc2bd7..4e3a7ba3bd 100644
--- 
a/plugins/misc/mail/src/main/java/org/apache/hop/mail/pipeline/transforms/mail/MailDialog.java
+++ 
b/plugins/misc/mail/src/main/java/org/apache/hop/mail/pipeline/transforms/mail/MailDialog.java
@@ -2468,8 +2468,8 @@ public class MailDialog extends BaseTransformDialog {
     wSecureConnectionType.setEnabled(wUseSecAuth.getSelection());
     wlSecureConnectionType.setEnabled(wUseSecAuth.getSelection());
     wTrustedHosts.setEnabled(wUseSecAuth.getSelection());
-    wCheckServerIdentity.setEnabled(wUseSecAuth.getSelection());
     wlCheckServerIdentity.setEnabled(wUseSecAuth.getSelection());
+    wCheckServerIdentity.setEnabled(wUseSecAuth.getSelection());
   }
 
   private void setEncodings() {
diff --git 
a/plugins/misc/mail/src/main/java/org/apache/hop/mail/workflow/actions/mail/ActionMailDialog.java
 
b/plugins/misc/mail/src/main/java/org/apache/hop/mail/workflow/actions/mail/ActionMailDialog.java
index 42ed96afa5..593d17283b 100644
--- 
a/plugins/misc/mail/src/main/java/org/apache/hop/mail/workflow/actions/mail/ActionMailDialog.java
+++ 
b/plugins/misc/mail/src/main/java/org/apache/hop/mail/workflow/actions/mail/ActionMailDialog.java
@@ -1461,6 +1461,7 @@ public class ActionMailDialog extends ActionDialog {
     wSecureConnectionType.setEnabled(wUseSecAuth.getSelection());
     wlSecureConnectionType.setEnabled(wUseSecAuth.getSelection());
     wTrustedHosts.setEnabled(wUseSecAuth.getSelection());
+    wlCheckServerIdentity.setEnabled(wUseSecAuth.getSelection());
     wCheckServerIdentity.setEnabled(wUseSecAuth.getSelection());
   }
 

Reply via email to