Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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
Attachments
Issue Links
- causes
-
NIFI-13217 Update JavaDoc on core attributes unaffected by removeAttribute / removeAllAttributes
- Resolved
- fixes
-
NIFI-4298 NiFi allows users to remove critical Attributes that are needed by processors.
- Resolved
- links to