BLUF It turns out after the discussion in NIFI-13057 <https://issues.apache.org/jira/browse/NIFI-13057> all required properties whether sensitive or not exhibit the same behavior i.e. once set they cannot be unset but only changed. Intuitively one might have thought they could use the backspace to erase the property value and it would be unset but that is not the case. Per the conversation in the ticket it was suggested to have a UI change to indicate a required property once set cannot be unset but only changed. I would like to hear from the community thoughts on what a proposed UI change might look like. Thanks!
On Tue, Apr 16, 2024 at 1:21 PM Dan S <dsti...@gmail.com> wrote: > I have created NIFI-13057 > <https://issues.apache.org/jira/browse/NIFI-13057> to address this. It > seems this is an issue when a property has both required and sensitive set > to true. > > On Mon, Apr 15, 2024 at 5:32 PM Dan S <dsti...@gmail.com> wrote: > >> Although the UI does report the ExcelReader controller service is invalid >> since the password does not have any characters. >> >> On Mon, Apr 15, 2024 at 5:31 PM Dan S <dsti...@gmail.com> wrote: >> >>> Mike, >>> That is not what is happening. I followed your instructions and after >>> pressing "OK" The "Sensitive value set" message is still present. >>> >>> On Mon, Apr 15, 2024 at 5:25 PM Michael Moser <moser...@gmail.com> >>> wrote: >>> >>>> Hi Dan, >>>> >>>> You edit the property as usual, and when the text box appears showing >>>> the greyed-out "Sensitive value set" in the box, simply click anywhere >>>> in >>>> the text box and "Sensitive value set" will disappear. Then click the >>>> "OK" >>>> button and the value should be back to "No value set". >>>> >>>> -- Mike >>>> >>>> >>>> On Mon, Apr 15, 2024 at 5:12 PM Dan S <dsti...@gmail.com> wrote: >>>> >>>> > I am currently working on NIFI-12960 >>>> > <https://issues.apache.org/jira/browse/NIFI-12960> where I added a >>>> new >>>> > property named password which allows a user to enter a password for >>>> reading >>>> > a password protected Excel spreadsheet. I marked this new property as >>>> > sensitive. While testing I entered a password and now in the UI it >>>> says by >>>> > that property "Sensitive value set". Is there a way to unset this >>>> property >>>> > to allow for adding a different password? I have tried checking the >>>> box >>>> > "Set Empty String" but that does not clear the "Sensitive value set" >>>> > message. >>>> > >>>> >>>