You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Gilman (JIRA)" <ji...@apache.org> on 2017/07/19 15:53:00 UTC

[jira] [Updated] (NIFI-11) UpdateAttribute should penalize & roll back FlowFiles for which Expression Language fails to evaluate

     [ https://issues.apache.org/jira/browse/NIFI-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Gilman updated NIFI-11:
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
           Status: Resolved  (was: Patch Available)

> 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)