You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/10/13 10:09:00 UTC

[jira] [Resolved] (SLING-9817) Send ServiceEvent.MODIFIED when service properties are changed

     [ https://issues.apache.org/jira/browse/SLING-9817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-9817.
-------------------------------------
    Resolution: Fixed

Implemented in 
https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/commit/09856abccfb990badb371c3601e21cd8d58fb437

Added test case verifying the behaviour 

> Send ServiceEvent.MODIFIED when service properties are changed
> --------------------------------------------------------------
>
>                 Key: SLING-9817
>                 URL: https://issues.apache.org/jira/browse/SLING-9817
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Testing OSGi Mock 2.4.18
>
>
> When ServiceRegistration.setProperies() is called, a ServiceEvent.MODIFIED should be send to service listeners. In addition, the SERVICE_ID and OBJECTCLASS properties must be preserved



--
This message was sent by Atlassian Jira
(v8.3.4#803005)