[
https://issues.apache.org/jira/browse/NIFI-15374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047060#comment-18047060
]
ASF subversion and git services commented on NIFI-15374:
--------------------------------------------------------
Commit c06d5e8eca2b821f34b9f713e0c0a75a3f64fd5d in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c06d5e8eca ]
NIFI-15374 Fixed Parameter auto-complete to accept the period character (#10680)
Signed-off-by: David Handermann <[email protected]>
> Parameter autocomplete proposals don't work with dots in the names
> ------------------------------------------------------------------
>
> Key: NIFI-15374
> URL: https://issues.apache.org/jira/browse/NIFI-15374
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 2.6.0, 2.7.0, 2.7.1, 2.7.2
> Reporter: Jochen Franz
> Assignee: Pierre Villard
> Priority: Minor
> Attachments: image-2025-12-19-11-59-40-049.png,
> image-2025-12-19-12-00-20-100.png, image-2025-12-19-12-02-30-654.png,
> image-2025-12-19-12-04-09-956.png, image-2025-12-19-12-05-08-789.png,
> image-2025-12-19-12-05-29-410.png, image-2025-12-19-12-05-56-066.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Hi.
> We recognized that with changing the parameter suggestion list from the HTML
> list to a div container the suggestion does not work for context parameter
> names with dots anymore.
> It looks like as if the regex, which is responsible for the list filtering,
> does not escape "." properly into "\." .
> I think it relates to bug report NIFI-15373.
> *How to reproduce:*
> Below are screenshots of a comparison between Nifi 2.7.2 and Nifi 2.2.0
> (tested on the version starting from here).
> Just create a parameter context with parameter names having dots.
> On the canvas add for instance an UpdateAttribute processor and add an
> attribute. The value points to a parameter of the PG assigned context.
> *_Nifi 2.7.2_*
> List of test scenario parameters
> !image-2025-12-19-11-59-40-049.png|width=322,height=158!
> Typing parameters with "_" and other alphanumerical characters
> !image-2025-12-19-12-00-20-100.png|width=365,height=137!
> The suggestion list appears properly.
> Typing parameters with "." and other alphanumerical characters
> !image-2025-12-19-12-02-30-654.png|width=352,height=135!
> With the first dot, everything seems ok. Continuing typing
> !image-2025-12-19-12-04-09-956.png|width=270,height=163!
> The list disappears.
>
> _*Nifi 2.2.0*_
> All the same scenario.
> !image-2025-12-19-12-05-08-789.png|width=320,height=163!
> Typing parameters with "_" and other alphanumerical characters
> !image-2025-12-19-12-05-29-410.png|width=310,height=152!
> Same with dots
> !image-2025-12-19-12-05-56-066.png|width=274,height=114!
> The two parameter names appear in the suggestion list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)