Joe Witt created NIFI-13416:
-------------------------------
Summary: New UI handles context parameter inheritance incorrectly
Key: NIFI-13416
URL: https://issues.apache.org/jira/browse/NIFI-13416
Project: Apache NiFi
Issue Type: Task
Reporter: Joe Witt
Fix For: 2.0.0-M4
old UI allows to overlay existing inherited parameter with another value, new
UI shows error message "A parameter with this name already exists."
how to reproduce:
1) create new parameter context f.e. "BASE"
2) in "BASE" create variable "FOO" with value "BAR"
3) create new parameter context f.e. "OVERLAY"
4) add parameter context "BASE" to context "OVERLAY" on Inheritance tab
5) in context "OVERLAY" attempt to create parameter "FOO"
6-old) parameter is created sucessfully and its value takes precedence based
over inherited parameters
6-2.0.0-M3) an error "A parameter with this name already exists." is shown
workaround: break inheritance, add parameter, recreate inheritance
related wishlist / improvements:
1) another action next to "Go To" for inherited values with name "Override"
that will open window "Add Parameter" with name and sensitivity already
prefilled
2) show icon / any other means to inform user that this value is also present
in some inherited context
Reported by Vit Cepela in Apache NiFi slack on Jun 18 2024
--
This message was sent by Atlassian Jira
(v8.20.10#820010)