You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Iryna Romanenko (Jira)" <ji...@apache.org> on 2020/11/21 13:07:00 UTC
[jira] [Created] (NIFI-8034)
PropertyValue.isExpressionLanguagePresent always returns true for non-null
values
Iryna Romanenko created NIFI-8034:
-------------------------------------
Summary: 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.12.1, 1.11.4, 1.11.3, 1.11.2, 1.11.1, 1.11.0, 1.10.0
Reporter: Iryna Romanenko
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)