[
https://issues.apache.org/jira/browse/NIFI-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477945#comment-16477945
]
ASF GitHub Bot commented on NIFI-5197:
--------------------------------------
Github user MikeThomsen commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2706#discussion_r188743200
--- Diff:
nifi-nar-bundles/nifi-extension-utils/nifi-record-utils/nifi-avro-record-utils/src/main/java/org/apache/nifi/schema/access/SchemaAccessUtils.java
---
@@ -85,7 +85,7 @@
.description("Specifies the name of the branch to use when
looking up the schema in the Schema Registry property. " +
"If the chosen Schema Registry does not support
branching, this value will be ignored.")
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
- .expressionLanguageSupported(true)
+
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
--- End diff --
Yeah, I'll change that. With 5145 in place now, the test framework won't
care.
> Fix invalid expression language scope declarations
> --------------------------------------------------
>
> Key: NIFI-5197
> URL: https://issues.apache.org/jira/browse/NIFI-5197
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mike Thomsen
> Assignee: Mike Thomsen
> Priority: Minor
>
> Some of the expression language scope declarations are wrong, such as
> declaring VARIABLE_REGISTRY and then passing in a flowfile as the argument in
> the processor. These need to be hunted down and cleaned up in one single
> commit. Each set of unit and integration tests should be run to verify where
> problems reside.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)