[ 
https://issues.apache.org/jira/browse/NIFI-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093308#comment-16093308
 ] 

ASF subversion and git services commented on NIFI-11:
-----------------------------------------------------

Commit 451a88df438f1ea2ed14c862a95aaed13b8c1ee3 in nifi's branch 
refs/heads/master from [~trixpan]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=451a88d ]

NIFI-11
- Capture Exception to prevent failed evaluations from yielding processor
- Further capture evaluation exceptions as per PR feedback
- Adjust jUnit to new exception behavior
- This closes #1644


> UpdateAttribute should penalize & roll back FlowFiles for which Expression 
> Language fails to evaluate
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-11
>                 URL: https://issues.apache.org/jira/browse/NIFI-11
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Gilman
>            Assignee: Andre F de Miranda
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to