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

Pierre Villard resolved NIFI-14164.
-----------------------------------
    Resolution: Fixed

> 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
>             Fix For: 2.2.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to