[ https://issues.apache.org/jira/browse/NIFI-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477801#comment-16477801 ]
ASF subversion and git services commented on NIFI-5145: ------------------------------------------------------- Commit ea41b41ede3cc9832cf0b95c3f51ca29fda67fc3 in nifi's branch refs/heads/master from [~mike.thomsen] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ea41b41 ] NIFI-5145 Made MockPropertyValue.evaluateExpressionLanguage(FlowFile able to accommodate null flowfiles the way live NiFi does. NIFI-5145 Fixed a mistake with evaluateAttributeExpressions found in a code review. NIFI-5145 Removed a property descriptor from GetHBase that was a duplication of the one in VisibilityFetchSupport. NIFI-5145 Added comments in the code that were requested in the review. NIFI-5145 Fixed check style issue. NIFI-5145 Fixed a few improperly scoped items in ListFileTransfer that impacted the FTP processor(s). NIFI-5145 Changed which override gets called based on code review feedback. NIFI-5145: Reverted changes to ListFileTransfer re ExpressionLanguageScope NIFI-5145: Removed TODO from MockPropertyValue javadoc Signed-off-by: Matthew Burgess <mattyb...@apache.org> This closes #2672 > MockPropertyValue.evaluateExpressionLanguage(FlowFile) cannot handle null > inputs > -------------------------------------------------------------------------------- > > Key: NIFI-5145 > URL: https://issues.apache.org/jira/browse/NIFI-5145 > Project: Apache NiFi > Issue Type: Bug > Reporter: Mike Thomsen > Assignee: Mike Thomsen > Priority: Major > Fix For: 1.7.0 > > > The method mentioned in the title line cannot handle null inputs, even though > the main NiFi execution classes can handle that scenario. This forces hack to > pass testing with nulls that looks like this: > String val = flowFile != null ? > context.getProperty(PROP).evaluateExpressionLanguage(flowfile).getValue() : > context.getProperty(PROP).evaluateExpressionLanguage(new > HashMap()).getValue(); -- This message was sent by Atlassian JIRA (v7.6.3#76005)