[
https://issues.apache.org/jira/browse/SLING-7627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-7627.
---------------------------------
> 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)