[ 
https://issues.apache.org/jira/browse/NIFI-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288238#comment-14288238
 ] 

Mark Payne commented on NIFI-295:
---------------------------------

The issue here I think is that the search code calls 
ProcessorNode#getProperties, which returns Map<PropertyDescriptor, String> but 
the String is null if the user hasn't set a value (the value is the default 
value). The solution here should probably be to just initialize this map with 
the property descriptor's default value instead of null. This same map is 
reflected in ProcessContext, and this is a bit misleading to developers of 
Processors if the values are coming back as null.

> Searching should consider default property values when appropriate
> ------------------------------------------------------------------
>
>                 Key: NIFI-295
>                 URL: https://issues.apache.org/jira/browse/NIFI-295
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Priority: Minor
>




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

Reply via email to