You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2023/10/12 00:49:00 UTC

[jira] [Resolved] (NIFI-12211) TinkerpopClientService is enable-able when setting the username or password in the service

     [ https://issues.apache.org/jira/browse/NIFI-12211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Witt resolved NIFI-12211.
-----------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> 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
>             Fix For: 2.0.0
>
>   Original Estimate: 24h
>          Time Spent: 0.5h
>  Remaining Estimate: 23.5h
>
> 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)