Github user JPercivall commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/571#discussion_r72169945
  
    --- Diff: 
nifi-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/StandardPropertyValue.java
 ---
    @@ -134,9 +139,14 @@ public PropertyValue 
evaluateAttributeExpressions(final FlowFile flowFile, final
                 return this;
             }
     
    -        return new 
StandardPropertyValue(preparedQuery.evaluateExpressions(flowFile, 
additionalAttributes, decorator), serviceLookup, null);
    +        VariableRegistry sysRegistry = variableRegistry != null ? 
variableRegistry : VariableRegistryUtils.createVariableRegistry();
    --- End diff --
    
    Is there any time this is designed to be null or is this just a fallback? 
If it does get created here, it won't have the variables from the properties 
values ingested by the FlowController. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to