Otto Fowler created NIFI-7055:
---------------------------------
Summary: createListValidator returns valid for empty list with ","
input
Key: NIFI-7055
URL: https://issues.apache.org/jira/browse/NIFI-7055
Project: Apache NiFi
Issue Type: Bug
Reporter: Otto Fowler
Assignee: Otto Fowler
from Slack:
<[email protected]>
"I'm looking at the createListValidator, and to my surprise passing in a list
of (essentially) two empty elements "," validates, while a totally empty string
"" does not. Apparently due to some underlying behavior of String.split."
The string "," does return a String[0] from split. This should fail validation
as if here were no elements as null, "", " " do.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)