You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/07/22 18:40:05 UTC

[jira] [Created] (NIFI-779) When ReportingTask gets the value of a property where default is not populated in provided PropertyDescriptor, gets null

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)