Julien G. created NIFI-14151:
--------------------------------

             Summary: Search input stops working after illegal character is 
entered
                 Key: NIFI-14151
                 URL: https://issues.apache.org/jira/browse/NIFI-14151
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Julien G.
         Attachments: screen-capture-1.webm

When using an illegal character is used in a search input like a bracket, the 
input will stop working until the menu is closed and reopen.

You get this error:
{noformat}
ERROR SyntaxError: Invalid regular expression: /[/: Unterminated character class
    at new RegExp (<anonymous>)
    at Nt (chunk-FIKMCYVL.js:2:8505)
    at chunk-FIKMCYVL.js:2:11316
    at chunk-FIKMCYVL.js:2:8346
    at Array.some (<anonymous>)
    at Ge.filterPredicate (chunk-FIKMCYVL.js:2:8338)
    at chunk-H2WHMLSL.js:1:38034
    at Array.filter (<anonymous>)
    at Ge._filterData (chunk-H2WHMLSL.js:1:38019)
    at chunk-H2WHMLSL.js:1:37711
handleError @ chunk-4JRAZRHD.js:7{noformat}
And here is a video to illustrate it.
[^screen-capture.webm]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to