You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2024/02/09 22:57:00 UTC
[jira] [Resolved] (NIFI-5448) Failed EL date parsing live-locks processors without a failure relationship
[ https://issues.apache.org/jira/browse/NIFI-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Witt resolved NIFI-5448.
----------------------------
Resolution: Duplicate
Will address the fundamental concern in this other jira
> Failed EL date parsing live-locks processors without a failure relationship
> ---------------------------------------------------------------------------
>
> Key: NIFI-5448
> URL: https://issues.apache.org/jira/browse/NIFI-5448
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: David Koster
> Assignee: Mike Thomsen
> Priority: Major
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)