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

Failed EL date parsing live-locks processors without a failure relationship

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Framework
    • Labels:
      None

      Description

      Processors that utilize the Expression Language need to always present a failure relationship.

      If a processor with only a success relationship, for example UpdateAttribute, utilizes the expression language to perform type coercion to a date and fails, the processor will be unable to dispose of the FlowFile and remain blocked indefinitely.

      Recreation flow:

      GenerateFlowFile -> Update Attribute #1 -> Update Attribute #2 -> Anything

      Update Attribute #1 - test = "Hello World"

      Update Attribute #2 - test = ${test:toDate('yyyy-MM-dd')}

       

      Generates an IllegalAttributeException on UpdateAttribute.

       

      The behavior should match numerical type coercion and silently skip the processing or offer failure relationships on processors supporting EL

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mike.thomsen Mike Thomsen
                Reporter:
                dmkoster David Koster
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: