Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13200

Framework should not allow removal of 'filename' or 'path' attributes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • Core Framework
    • 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

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m