jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1622) Duplicate configuration services (regression of OAK-1476)
Date Thu, 27 Mar 2014 10:25:16 GMT

    [ https://issues.apache.org/jira/browse/OAK-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949122#comment-13949122

Chetan Mehrotra commented on OAK-1622:

bq. the method get Configurations and getConfiguration will never return the composite configurations
with your fix.... i.e. they will never be used.

hmm not sure. I assign the compositePrincipalConfiguration to principalConfiguration in initializeConfigurations
which is called from activate in OSGi env. So they would be returned

bq. i assigned the issue to myself and will fix it

> Duplicate configuration services (regression of OAK-1476)
> ---------------------------------------------------------
>                 Key: OAK-1622
>                 URL: https://issues.apache.org/jira/browse/OAK-1622
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>            Assignee: angela
>            Priority: Blocker
>             Fix For: 0.20
> [~chetanm], i just was trying to fix an issue with the token configuration options and
found that in the OSGI setup the token and principal configuration service is present twice.
i think this is caused by the changes you made for OAK-1476 introduced a regression with the
principal and token configuration, namely the following lines:
> {code}
> [...]
> compositePrincipalConfiguration.addConfiguration(new PrincipalConfigurationImpl(this));
> [...]
> compositeTokenConfiguration.addConfiguration(new TokenConfigurationImpl(this));
> {code}
> wdyt?

This message was sent by Atlassian JIRA

View raw message