You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/14 17:22:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17157521#comment-17157521 ]
ASF subversion and git services commented on NIFI-7635:
-------------------------------------------------------
Commit 4f11e3626093d3090f97c0efc5e229d83b6006e4 in nifi's branch refs/heads/main from Peter Gyori
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4f11e36 ]
NIFI-7635: StandardConfigurationContext.getProperty() gets the property descriptor and its default value from the component itself
This closes #4408.
Signed-off-by: Mark Payne <ma...@hotmail.com>
> 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)