You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2024/01/02 19:49:00 UTC
[jira] [Commented] (NIFI-12555) UI - Property with .dependsOn() incorrectly being displayed
[ https://issues.apache.org/jira/browse/NIFI-12555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801913#comment-17801913 ]
Daniel Stieglitz commented on NIFI-12555:
-----------------------------------------
[~markbean] Can you give examples of the processors you are seeing this behavior in?
> 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
>
> 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)