You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Gyori (Jira)" <ji...@apache.org> on 2020/07/14 13:35:00 UTC
[jira] [Updated] (NIFI-7635) Fix StandardConfigurationContext to
read the default property value from its ComponentNode instance
[ https://issues.apache.org/jira/browse/NIFI-7635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Gyori updated NIFI-7635:
------------------------------
Status: Patch Available (was: In Progress)
> Fix StandardConfigurationContext to read the default property value from its ComponentNode instance
> ---------------------------------------------------------------------------------------------------
>
> Key: NIFI-7635
> URL: https://issues.apache.org/jira/browse/NIFI-7635
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Peter Gyori
> Assignee: Peter Gyori
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> If an effective property value is not set, StandardConfigurationContext.getProperty(PropertyDescriptor property) reads the default property value from its parameter (property) instead of the ComponentNode instance. This results in faulty behavior when e.g. a controller service is enabled with its default settings and one or more of these default values differ from the default values of the supplied PropertyDescriptor.
> A fix needs to be implemented to get the property descriptor and its default value from the component itself and not the supplied PropertyDescriptor parameter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)