[ 
https://issues.apache.org/jira/browse/SLING-7209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210975#comment-16210975
 ] 

Dominique Jäggi commented on SLING-7209:
----------------------------------------

[~egli], yes absolutely, namely in _doUpdateProperties_ - sorry, i confused the 
files.

> [Topology] Removal of PropertyProvider at runtime does not trigger change 
> event
> -------------------------------------------------------------------------------
>
>                 Key: SLING-7209
>                 URL: https://issues.apache.org/jira/browse/SLING-7209
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Dominique Jäggi
>
> When a _PropertyProvider_ is stopped at runtime, causing topology properties 
> to no longer be available, the _ViewStateManagerImpl_ is informed about its 
> removal and compares the old and new view in _#handleNewViewNonDelayed_, 
> doing a _previousView.equals(newView)_.
> This ends up in _DefaultTopologyView_ where known properties are compared 
> with their stored counterparts. A Topology change event is only issued 
> concerning properties if this comparison yields a difference.
> Since the property names of the removed _PropertyProvider_ are no longer part 
> of known properties, their removal is ignored, causing no topology event to 
> be issued and orphaned properties in the repo.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to