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

Mark Payne commented on NIFI-13200:
-----------------------------------

Yup good catch, [~mosermw] 

> 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
>             Fix For: 2.0.0-M3
>
>          Time Spent: 20m
>  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