[
https://issues.apache.org/jira/browse/SLING-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-546.
-------------------------------------
Resolution: Fixed
Implement fix in Rev. 669451.
Resolving now and will close this issue as soon as it is confirmed by Craig
Ching, who reported it in [1].
[1] http://markmail.org/message/gv3zxtflogwgw54b
> ObjectContentMnagerFactoryImpl does not register adapter factories for mapped
> objects
> -------------------------------------------------------------------------------------
>
> Key: SLING-546
> URL: https://issues.apache.org/jira/browse/SLING-546
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: 2.0.1
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: JCR OCM 2.0.2
>
>
> After the change of the maven-sling-plugin to not set the immediate attribute
> anymore to true by default for components, the jcr/ocm
> ObjectContentManagerFactoryImpl class is registered as a delayed component.
> This causes the factory to only be instantiated when the the service is first
> requested and the bundle listener to only be registered by then.
> Correct would be to immediately activate this component such that it can
> start listening for bundles and register adapter factories.
> In addition, the service registration is incorrect as the component is
> registered as a service for all implemented interfaces. The reason for this
> is the incorrect attribute "name" to indicate the actual service interface.
> This should be the "interface" attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.