[
https://issues.apache.org/jira/browse/NIFI-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104039#comment-15104039
]
Mark Payne commented on NIFI-1339:
----------------------------------
[~joewitt] - thanks for the feedback.
I have addressed this on the NIFI-259 branch, as it was necessary in order to
test the state management feature that is being implemented there.
> Framework calls onPropertyModified for each property each time NiFi is started
> ------------------------------------------------------------------------------
>
> Key: NIFI-1339
> URL: https://issues.apache.org/jira/browse/NIFI-1339
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 0.5.0
>
>
> When NiFi is started, it sets all properties for each Controller Service,
> Reporting Task, and Processor. If any property is not set to the default
> value, this will trigger onPropertyModified to get called. However, this
> method should be called ONLY if the property is changed. Since we are not
> really changing the property value (only restoring it to the proper value),
> we should never call this method during startup.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)