[ 
https://issues.apache.org/jira/browse/NIFI-12211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17774274#comment-17774274
 ] 

ASF subversion and git services commented on NIFI-12211:
--------------------------------------------------------

Commit 1a0f509ffc4a2d0b9620d1d322807d3588deb6e4 in nifi's branch 
refs/heads/main from levilentz
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1a0f509ffc ]

NIFI-12211: This closes #7868. add Validator.VALID to username/password on 
TinkerpopClientService

Signed-off-by: Joseph Witt <joew...@apache.org>


> TinkerpopClientService is enable-able when setting the username or password 
> in the service
> ------------------------------------------------------------------------------------------
>
>                 Key: NIFI-12211
>                 URL: https://issues.apache.org/jira/browse/NIFI-12211
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Levi Lentz
>            Assignee: Levi Lentz
>            Priority: Minor
>   Original Estimate: 24h
>          Time Spent: 20m
>  Remaining Estimate: 23h 40m
>
> In the TinkperpopClientService we are missing validators on the username and 
> password as introduced by this PR: 
> [https://github.com/apache/nifi/pull/7677]
> Example stacktrace when setting the username/password: 
> {code:java}
> java.lang.IllegalStateException: Cannot enable Controller Service 
> TestableGremlinClientService[id=gremlinService] because it is in an invalid 
> state: 'user-name' validated against 'test' is invalid because 'user-name' is 
> not a supported property or has no Validator associated with it
>  {code}
> The fix:
> Add Validators.VALID to the username/password fields.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to