You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Bean (Jira)" <ji...@apache.org> on 2023/12/29 18:13:00 UTC

[jira] [Created] (NIFI-12555) UI - Property with .dependsOn() incorrectly being displayed

Mark Bean created NIFI-12555:
--------------------------------

             Summary: UI - Property with .dependsOn() incorrectly being displayed
                 Key: NIFI-12555
                 URL: https://issues.apache.org/jira/browse/NIFI-12555
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Mark Bean


Consider PROPERTY_1 with:
`
.dependsOn(PROPERTY_2, "foo")

`

In the UI, when Property 2 is set to a value of "bar", Property 1 should not be displayed. However, when the configuration is first opened, Property 1 is displayed. The UI correctly updates only after re-selecting "bar" for Property 2 - or even just opening its value and choosing "Cancel". In other words, after taking any action to change any property, then Property 1 is correctly removed from the UI.

This appears to be a problem only for the initial display of component properties, and not when they are refreshed and/or dependency rules are evaluated.

It is possible this is related to changes introduced in [NIFI-11593|https://issues.apache.org/jira/browse/NIFI-11593]. Note that the above behavior occurs even when PROPERTY_2 has specific allowed values.



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