[
https://issues.apache.org/jira/browse/NIFI-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648030#comment-16648030
]
Joseph Witt commented on NIFI-5448:
-----------------------------------
reverting both
commit e25b26e9cf860db038da8e23e8e64bdb1b8dba88 (HEAD -> master)
Author: joewitt <[email protected]>
Date: Fri Oct 12 11:27:48 2018 -0400
Revert "NIFI-5448 Added failure relationship to UpdateAttributes to handle
bad expression language logic."
This reverts commit 32ee552ada328ed1189ed2bd0a2af18ed213ddc8.
commit 6b77e7dd895affa739c55a7db969fa6bcde44ad1
Author: joewitt <[email protected]>
Date: Fri Oct 12 11:08:22 2018 -0400
Revert "NIFI-5448 Changed from 'stop' to 'penalize' in allowablevalue field
to make the popup more consistent."
This reverts commit 9d2b698c1cdfb54411b9f147573767bdda6e355c.
> 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
> Fix For: 1.8.0
>
>
> 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
(v7.6.3#76005)