Andrey Novikov created IGNITE-21814:
---------------------------------------
Summary: 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
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)