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

Mark Bean commented on NIFI-4798:
---------------------------------

This exact use case may be a holdover from long ago when removing an attribute 
was not an option. And, to do so now first requires identifying all downstream 
flows/customers and verifying there will be no adverse affects. In the end, 
this is probably a good idea.

Having said that, I believe this ticket is still valid. While there are many 
ways to achieve the same goal, the 'Set empty string' checkbox should still be 
one of the options available.

> UpdateAttribute should allow empty string values without requiring state 
> management
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-4798
>                 URL: https://issues.apache.org/jira/browse/NIFI-4798
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Extensions
>    Affects Versions: 1.5.0
>            Reporter: Mark Bean
>            Priority: Minor
>              Labels: easyfix
>
> The conditional validation of dynamic properties in UpdateAttribute use the 
> NON_EMPTY_STRING validator when state management is not enabled. This prevent 
> the "Set empty string" checkbox option. The introduction of state management 
> to this processor changed this behavior which previously allowed an empty 
> string for an attribute value. The validator for the non-stateful case should 
> be changed to return the original behavior.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to