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

ASF subversion and git services commented on NIFI-13200:
--------------------------------------------------------

Commit 9cf5f947e8dda4b57cf1eb4c429a8c1159af341a in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9cf5f947e8 ]

NIFI-13200: Do not allow 'filename' or 'path' attribute to removed from FlowFile
This closes #8791

Signed-off-by: Joseph Witt <[email protected]>


> Framework should not allow removal of 'filename' or 'path' attributes
> ---------------------------------------------------------------------
>
>                 Key: NIFI-13200
>                 URL: https://issues.apache.org/jira/browse/NIFI-13200
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, the framework prevents processors from removing the 'uuid' 
> attribute. However, it does allow any other attribute to be removed. However, 
> there are many processors that assume that the 'filename' and 'path' 
> attributes exist, and they are intended always to exist - they are even 
> assigned values when the FlowFile is created. We should ensure that these 
> attributes cannot be removed.
> Otherwise, configuring UpdateAttribute to remove these attributes can cause 
> follow-on processors to fail with unexpected NullPointerExceptions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to