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

[jira] [Assigned] (NIFI-8034) PropertyValue.isExpressionLanguagePresent always returns true for non-null values

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

Peter Turcsanyi reassigned NIFI-8034:
-------------------------------------

    Assignee: Peter Turcsanyi

> PropertyValue.isExpressionLanguagePresent always returns true for non-null values
> ---------------------------------------------------------------------------------
>
>                 Key: NIFI-8034
>                 URL: https://issues.apache.org/jira/browse/NIFI-8034
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.12.1
>            Reporter: Iryna Romanenko
>            Assignee: Peter Turcsanyi
>            Priority: Major
>             Fix For: 1.13.0
>
>
> Starting from 1.10.0 `PropertyValue::isExpressionLanguagePresent` seems to always return true on non-null values. 
> Query parser treats property value as a string literal expression, adds it to expression list on a query object, and, since expressions list is not empty, the property is considered as having expression language.
> Seems to be introduced  by this commit https://github.com/apache/nifi/commit/4f50f30ad7329540a707be835c23acee86d4cfb4#diff-7baf1e313bdccf02cbc790319fd86ebb1a4a5f8a283bcae86f0510e4264548e3



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