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

Andrey Novikov updated IGNITE-21814:
------------------------------------
    Labels: ignite-3  (was: )

> Incorrect validation error if configuration value is not initialized
> --------------------------------------------------------------------
>
>                 Key: IGNITE-21814
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21814
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cli
>    Affects Versions: 3.0.0-beta2
>            Reporter: Andrey Novikov
>            Priority: Minor
>              Labels: ignite-3
>
> KeysTrackingConfigurationVisitor#validate looks incorrect
> {code:java}
> if (val == null) {
>     String message = "'" + (currentKey() + fieldName) + "' configuration 
> value is not initialized.";
>     issues.add(new ValidationIssue(currentKey(), message));
>     return;
> } {code}
> It throw exception which contains section and full field name in error 
> message:
>  
> {noformat}
> Validation did not pass for keys: [test.providers.basic., 
> 'test.providers.basic.secret' configuration value is not initialized.]
> {noformat}
>  



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

Reply via email to