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)

Reply via email to