[
https://issues.apache.org/jira/browse/NIFI-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126057#comment-16126057
]
ASF subversion and git services commented on NIFI-779:
------------------------------------------------------
Commit 8aa445008499377c779b43fb3c5529023c14142f in nifi's branch
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=8aa4450 ]
NIFI-779 - fix for ReportingContext.getProperty(PropertyDescriptor)
Signed-off-by: Matt Burgess <[email protected]>
This closes #2033
> 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
> Fix For: 1.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.4.14#64029)