[
https://issues.apache.org/jira/browse/NIFI-8034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269476#comment-17269476
]
ASF subversion and git services commented on NIFI-8034:
-------------------------------------------------------
Commit 400d180ae71255849d47cd171397feb064dc9fdf in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=400d180 ]
NIFI-8034: Fixed PropertyValue.isExpressionLanguagePresent always returns true
for non-null values
This closes #4746.
Signed-off-by: Mark Payne <[email protected]>
> 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: Blocker
> Fix For: 1.13.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)