[
https://issues.apache.org/jira/browse/NIFI-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104036#comment-15104036
]
ASF subversion and git services commented on NIFI-1339:
-------------------------------------------------------
Commit eba25ecacad3372e78b72948f2e1617bbae1fcdc in nifi's branch
refs/heads/NIFI-259 from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=eba25ec ]
NIFI-259, NIFI-1339: Added OnConfigurationRestored annotation, always invoke
onPropertyModified even on restart when properties are changed from defaults,
as was done previously
> 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)