[
https://issues.apache.org/jira/browse/NIFI-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625154#comment-17625154
]
Mark Bean commented on NIFI-4798:
---------------------------------
Update since this ticket has been dormant for so long..
The goal is not simply to remove an attribute. Rather it is to allow an
attribute to be created (or modified) such that it's value is an empty string.
This ticket is not solely for the removal of an attribute as suggested
previously.
> 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
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)