You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2025/01/16 14:20:00 UTC
[jira] [Assigned] (NIFI-14164) Mock Framework's MockPropertyValue only ensures evaluateAttributeExpressions() called if Expression Language present
[ https://issues.apache.org/jira/browse/NIFI-14164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Payne reassigned NIFI-14164:
---------------------------------
Assignee: Mark Payne
> Mock Framework's MockPropertyValue only ensures evaluateAttributeExpressions() called if Expression Language present
> --------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-14164
> URL: https://issues.apache.org/jira/browse/NIFI-14164
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
>
> In the MockPropertyValue, we ensure that if a PropertyDescriptor declares a property to support Expression Language, that {{evaluateAttributeExpressions()}} is called before calling {{{}getValue(){}}}. But we only ensure this if the property value is set to use Expression Language. Rather, if the developer declares that Expression Language is supported and fails to evaluate Expression Language, we should always throw an Exception regardless of whether or not the property is configured to reference EL.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)