You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2018/04/27 21:53:00 UTC

[jira] [Resolved] (SLING-7627) CAConfig Impl: Wrong config name when adapting ConfigurationBuilder multiple times from same resource

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

Stefan Seifert resolved SLING-7627.
-----------------------------------
    Resolution: Fixed

fixed: https://github.com/apache/sling-org-apache-sling-caconfig-impl/commit/d4bb850a3adb91369c2bf8c9b1552ec099733225

> CAConfig Impl: Wrong config name when adapting ConfigurationBuilder multiple times from same resource
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-7627
>                 URL: https://issues.apache.org/jira/browse/SLING-7627
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Context-Aware Configuration Impl 1.4.10
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Major
>              Labels: contextaware-config
>             Fix For: Context-Aware Configuration Impl 1.4.12
>
>
> when adapting a {{ConfigurationBuilder}} from a resource the instance is cached (this is a default feature of SlingAdaptable).
> when the {{ConfiguationBuilder}} is adapted/used multiple times with and without configuration name, the configuration name is saved in the instance. if calling the builder next time without configuration name the configuration name is still set.
> the configuration name must not be saved in the instance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)