You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2017/07/23 15:26:00 UTC

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

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

Pierre Villard updated NIFI-779:
--------------------------------
    Assignee: Pierre Villard
      Status: Patch Available  (was: Open)

> 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
>            Assignee: Pierre Villard
>
> 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.4.14#64029)