[
https://issues.apache.org/jira/browse/NIFI-14873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-14873:
----------------------------------
Fix Version/s: 2.6.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Support unquoted parameter references with spaces in their names within
> expression language
> -------------------------------------------------------------------------------------------
>
> Key: NIFI-14873
> URL: https://issues.apache.org/jira/browse/NIFI-14873
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Rob Fellows
> Assignee: Rob Fellows
> Priority: Major
> Fix For: 2.6.0
>
> Attachments: Screenshot 2025-08-18 at 12.11.38.png,
> image-2025-08-18-12-13-23-099.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> There is a discrepancy between how parameters are referenced when on their
> own versus when included as part of expression language.
> If you have a parameter named "Date Format", if you just reference it on its
> own, you can just reference it as {{{}#\{Date Format}}}. No need to quote it.
> However, to reference that same parameter from within an expression
> {{{}${now():format(#\{Date Format}){}}}}
> you need to quote it for it to be parsed properly. If you don't quote it, the
> processor will be invalid with this displayed:
> !image-2025-08-18-12-13-23-099.png|width=573,height=131!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)