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 Burgess (Jira)" <ji...@apache.org> on 2021/08/09 17:53:00 UTC

[jira] [Updated] (NIFI-8790) PutElasticsearchRecord incorrectly validates Index Operation for Expression Language input

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

Matt Burgess updated NIFI-8790:
-------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> PutElasticsearchRecord incorrectly validates Index Operation for Expression Language input
> ------------------------------------------------------------------------------------------
>
>                 Key: NIFI-8790
>                 URL: https://issues.apache.org/jira/browse/NIFI-8790
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.13.0
>            Reporter: Chris Sampson
>            Assignee: Chris Sampson
>            Priority: Minor
>             Fix For: 1.15.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {{Index Operation}} property was added to PutElasticsearchRecord as part of NIFI-7474. IT accepts Expression Language (FlowFile Attributes) *but also* specifes a list of allowed values - this means that use of Expression Language can never be valid for the property.
> A different validation should be used if Expression Language is to be allowed such that the processor accepts Expression Language (and later checks it's a valid operation type after evaluating the expression against the invoming FlowFile) *or* the value is one of the allowed operations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)