You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Gyori (Jira)" <ji...@apache.org> on 2020/07/14 12:39:00 UTC

[jira] [Created] (NIFI-7635) Fix StandardConfigurationContext to read the default property value from its ComponentNode instance

Peter Gyori created NIFI-7635:
---------------------------------

             Summary: Fix StandardConfigurationContext to read the default property value from its ComponentNode instance
                 Key: NIFI-7635
                 URL: https://issues.apache.org/jira/browse/NIFI-7635
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Peter Gyori
            Assignee: Peter Gyori


If an effective property value is not set, StandardConfigurationContext.getProperty(PropertyDescriptor property) reads the default property value from its parameter (property) instead of the ComponentNode instance. This results in faulty behavior when e.g. a controller service is enabled with its default settings and one or more of these default values differ from the default values of the supplied PropertyDescriptor.

A fix needs to be implemented to get the property descriptor and its default value from the component itself and not the supplied PropertyDescriptor parameter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)