You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Chris Sampson (Jira)" <ji...@apache.org> on 2021/07/16 09:56:00 UTC

[jira] [Assigned] (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 ]

Chris Sampson reassigned NIFI-8790:
-----------------------------------

    Assignee: Chris Sampson

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