[infinispan-issues] [JBoss JIRA] (ISPN-7587) DefaultCacheManager.defineConfiguration(String, String, Configuration) applies the configurations in the wrong order

Sebastian Łaskawiec (JIRA) issues at jboss.org
Mon Mar 13 06:47:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-7587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Łaskawiec updated ISPN-7587:
--------------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> DefaultCacheManager.defineConfiguration(String, String, Configuration) applies the configurations in the wrong order
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-7587
>                 URL: https://issues.jboss.org/browse/ISPN-7587
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.0.CR2
>            Reporter: Dan Berindei
>            Assignee: William Burns
>             Fix For: 9.0.0.Final
>
>
> {{DefaultCacheManager.defineConfiguration(String name, String template, Configuration configurationOverride)}} is supposed to use a template configuration, apply any non-default attributes from {{configurationOverride}}, and define a new cache configuration or template based on the result.
> However, it reads the override configuration first, so if both the template and the override define the same attribute, the attribute from the template wins.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list