[
https://issues.apache.org/jira/browse/NIFI-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629081#comment-17629081
]
ASF subversion and git services commented on NIFI-4798:
-------------------------------------------------------
Commit 4e4f6437eed9e754ec13ae419f46742407f3b718 in nifi's branch
refs/heads/main from Mark Bean
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4e4f6437ee ]
NIFI-4798 allow empty value for UpdateAttribute property
Signed-off-by: Matthew Burgess <[email protected]>
This closes #6585
> 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
> Reporter: Mark Bean
> Priority: Minor
> Labels: easyfix
> Time Spent: 1h
> 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)