Mark Payne created NIFI-779:
-------------------------------

             Summary: When ReportingTask gets the value of a property where 
default is not populated in provided PropertyDescriptor, gets null
                 Key: NIFI-779
                 URL: https://issues.apache.org/jira/browse/NIFI-779
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
             Fix For: 0.4.0


If a Reporting Task calls ReportingContext.getProperty(PropertyDescriptor) and 
that PropertyDescriptor does not have a 'default value' populated, then the 
PropertyValue returned by getProperty has a null value, even if the 
PropertyDescriptor returned by getSupportedPropertyDescriptors does have a 
default value populated. This is not how Processors work. Controller Services 
and Reporting Tasks should both get the default value provided by the 
PropertyDescriptor that is returned by getSupportedPropertyDescriptors



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to