You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2024/05/09 20:37:00 UTC

[jira] [Created] (NIFI-13200) Framework should not allow removal of 'filename' or 'path' attributes

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)