Mark Payne created NIFI-14164:
---------------------------------

             Summary: 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


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