[
https://issues.apache.org/jira/browse/NIFI-13904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-13904:
------------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Affects Versions: 2.0.0-M4
> Reporter: Chris Sampson
> Assignee: Pierre Villard
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)