[
https://issues.apache.org/jira/browse/NIFI-8431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342048#comment-17342048
]
ASF subversion and git services commented on NIFI-8431:
-------------------------------------------------------
Commit 5c2df42be32d9baee518fcc9bb0e47b25ab93882 in nifi's branch
refs/heads/main from Mark Bean
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5c2df42 ]
NIFI-8431: remove redundant validation of dynamic properties
removed unused variable
Signed-off-by: Matthew Burgess <[email protected]>
This closes #5045
> Redundant validation of Dynamic Properties
> ------------------------------------------
>
> Key: NIFI-8431
> URL: https://issues.apache.org/jira/browse/NIFI-8431
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Bean
> Assignee: Mark Bean
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The validate method of AbstractConfigurableComponent was modified recently.
> Where it use to loop through only supported property descriptors (via
> getSupportedPropertyDescriptors method call), it now loops through all
> descriptors in the context (via ValidationContext.getProperties.keySet()
> call). This includes dynamic properties. Therefore, the subsequent validation
> of dynamic properties is redundant, and can produce duplicate validation
> errors.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)