You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2021/06/07 15:19:00 UTC

[jira] [Commented] (NIFI-8666) Parameters cannot be referenced from Expression Language if they have a space in the name

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

Mark Payne commented on NIFI-8666:
----------------------------------

Unfortunately I cannot seem to get Jira to display the description properly as the curly braces appear to cause it trouble. The intent there is not to have all of the newly within but to be more of the syntax:
DOLLAR OPEN_CURLY POUND {MyParameter}:toUpper() CLOSE_CURLY...

> Parameters cannot be referenced from Expression Language if they have a space in the name
> -----------------------------------------------------------------------------------------
>
>                 Key: NIFI-8666
>                 URL: https://issues.apache.org/jira/browse/NIFI-8666
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.14.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Parameter names are allowed to have spaces in them, but any parameter with a space cannot be referenced from within Expression Language. For example, we cannot use:
> ${#{My Parameter}:toUpper()} or ${ #{'My Parameter'}:toUpper()}
> We should be able to reference the parameter using the single ticks in order to quote the parameter name.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)