Mark Payne created NIFI-13200:
---------------------------------

             Summary: 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


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