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

UpdateAttribute should penalize & roll back FlowFiles for which Expression Language fails to evaluate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0
    • Extensions
    • None

    Description

      For example, if using ${filename:substring(1, 20)} and the filename is only 15 characters, this will throw an Exception, which causes UpdateAttribute to yield and not penalize the FlowFile. Instead, it should catch this Exception and rollback with penalization and NOT yield, as this is a problem with the data, not a problem with the processor's ability to function at this moment.

      Attachments

        Issue Links

          Activity

            People

              trixpan Andre F de Miranda
              mcgilman Matt Gilman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: