Chris Sampson created NIFI-13904:
------------------------------------

             Summary: Linking Parameter Contexts using NiFi Toolkit causes 
sensitive parameters to become invalid
                 Key: NIFI-13904
                 URL: https://issues.apache.org/jira/browse/NIFI-13904
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Chris Sampson
             Fix For: 2.0.0-M4


Linking Parameter Contexts using the NiFi Toolkit causes sensitive parameters 
to become invalid in the dependent/parent Parameter Context.

For example:
* create-param-provider
* fetch-params (including {{apply}})
* create-param-context
* set-param-value (including {{sensitive}} value params)
* set-inherited-param-contexts (linking the PC from the Param Provider, to the 
separately created PC)

The {{sensitive}} params in the second PC will now be invlaid.

This might be because the Toolkit [resets the parameters on the "parent" 
PC|https://github.com/apache/nifi/blob/main/nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/nifi/params/SetInheritedParamContexts.java#L88],
 which maybe doesn't correctly get/set the {{sensitive}} param values



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to