You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2021/12/17 15:31:00 UTC

[jira] [Resolved] (NIFI-5684) Add a Warning / Indicator in the UI if a property value begins or ends with white space

     [ https://issues.apache.org/jira/browse/NIFI-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne resolved NIFI-5684.
------------------------------
    Fix Version/s: 1.16.0
       Resolution: Duplicate

> 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
>            Priority: Major
>             Fix For: 1.16.0
>
>
> 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
(v8.20.1#820001)