[ 
https://issues.apache.org/jira/browse/NIFI-14164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914183#comment-17914183
 ] 

ASF subversion and git services commented on NIFI-14164:
--------------------------------------------------------

Commit 45704230be1fb4e256e35f97da545d5dfe597e2f in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=45704230be ]

NIFI-14164: Fixed integration tests that were missed in initial implementation 
of NIFI-14164

Signed-off-by: Pierre Villard <[email protected]>

This closes #9644.


> 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