[
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)