You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2022/04/27 12:33:00 UTC

[jira] [Updated] (MINIFICPP-1053) An error is logged when loading a YAML configuration with 'type' instead of 'class'

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

Marton Szasz updated MINIFICPP-1053:
------------------------------------
    Fix Version/s: 0.12.0
                       (was: 0.11.0)

> An error is logged when loading a YAML configuration with 'type' instead of 'class'
> -----------------------------------------------------------------------------------
>
>                 Key: MINIFICPP-1053
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1053
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Dániel Bakai
>            Assignee: Nghia Le
>            Priority: Major
>             Fix For: 0.12.0
>
>
> In YamlConfiguration::parseControllerServices we try to first find `class` and fall back to `type` if it does not exist, but we log a scary error during the process, which might confuse users, since despite it, we are able to successfully parse the configuration:
> `[2019-10-04 16:23:48.093] [org::apache::nifi::minifi::core::YamlConfiguration] [error] Unable to parse configuration file for component named 'SSLContextService' as required field 'class' is missing [in 'Controller Services' section of configuration file]`



--
This message was sent by Atlassian Jira
(v8.20.7#820007)