[
https://issues.apache.org/jira/browse/NIFI-12555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-12555.
-----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> 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
> Components: Core UI
> Affects Versions: 1.24.0
> Reporter: Mark Bean
> Priority: Major
> Attachments: TestCustomProcessor.java
>
>
> 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. Note
> that the above behavior occurs even when PROPERTY_2 has specific allowed
> values.-
> The same behavior is seen in 1.21.0, and NIFI-11593 has a fix version of
> 1.22.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)