[ 
https://issues.apache.org/jira/browse/NIFI-6162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806858#comment-16806858
 ] 

Matt Gilman edited comment on NIFI-6162 at 4/1/19 11:56 PM:
------------------------------------------------------------

[~aboda] The behavior you're describing is currently working as designed. That 
checkbox is to differentiate between an empty string and clearing the value. 
When checked in conjunction with a value being set the user input is ambiguous. 
When this happens we opted to retain the currently configured value for two 
reasons

- Prevents loss of configuration
- The empty string scenario is less common

So because of this, we favor the currently configured value. If the user wants 
to configure a value they type it in. If the user wanted to clear the value 
they delete text and submit it. If the user wants an empty string they clear 
the value and indicate the intention is an empty string.


was (Author: mcgilman):
[~aboda] The behavior you're describing is currently working as designed. That 
checkbox is to differentiate between an empty string and clearing the value. 
When checked in conjunction with a value being set the user input is ambiguous. 
When this happens we opted to retain the currently configured value for two 
reasons

- Prevents loss of configuration
- The empty string scenario is less common

So because of this, we favor the currently configured value. If the user wants 
to configure a value they type is in. If the user wanted to clear the value the 
submit it empty. If the user wants an empty string they clear the value and 
indicate the intention is an empty string.

> Empty value checkbox fails to empty the value and the input field
> -----------------------------------------------------------------
>
>                 Key: NIFI-6162
>                 URL: https://issues.apache.org/jira/browse/NIFI-6162
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.9.1
>            Reporter: Arpad Boda
>            Priority: Minor
>         Attachments: nifi_empty_value.mp4
>
>
> Empty value checkbox can be ticked and config saved after that, but it has no 
> effect. See the attached video. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to