[
https://issues.apache.org/jira/browse/NIFI-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103870#comment-15103870
]
Joseph Witt commented on NIFI-1339:
-----------------------------------
Mark this annotation makes sense to me. The bottom line is there are different
lifecycle moments that will at times need different handling. This is one of
those. We need to get them defined sooner than later and this sounds good
> 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)