Mark Payne created NIFI-5684:
--------------------------------
Summary: Add a Warning / Indicator in the UI if a property value
begins or ends with white space
Key: NIFI-5684
URL: https://issues.apache.org/jira/browse/NIFI-5684
Project: Apache NiFi
Issue Type: Improvement
Components: Core UI
Reporter: Mark Payne
It is not uncommon to see a user enter a property value into the UI where the
property value begins or ends with whitespace (both trailing spaces and
trailing newlines are fairly common to see), especially when they copy & paste
the value in. NiFi does not trim whitespace because there are also very valid
use cases for having the white space there (for example, if the property value
is used as a prefix for some string, or as a delimiter).
However, when this happens, users often end up with errors that say something
like "User my-user-nameĀ does not exist" because the property value is set to
"my-user-name<space>" and the error message leads the user astray, leading to a
lot of confusion.
Therefore, I propose adding an indicator to the UI, so that when a user
configures a property value that begins with or ends with white space, the UI
warns to this fact so that the user is able to detect and fix this easily,
avoiding the confusion described above.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)