[infinispan-issues] [JBoss JIRA] (ISPN-1859) CacheManager.defineConfiguration override doesn't work for hash configuration values

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Feb 16 11:57:36 EST 2012


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

Manik Surtani updated ISPN-1859:
--------------------------------

       Fix Version/s: 5.1.2.CR1
                      5.1.2.FINAL
    Git Pull Request: https://github.com/infinispan/infinispan/pull/951, https://github.com/infinispan/infinispan/pull/952  (was: https://github.com/infinispan/infinispan/pull/951, https://github.com/infinispan/infinispan/pull/952)

    
> CacheManager.defineConfiguration override doesn't work for hash configuration values
> ------------------------------------------------------------------------------------
>
>                 Key: ISPN-1859
>                 URL: https://issues.jboss.org/browse/ISPN-1859
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 5.1.1.FINAL
>            Reporter: William Burns
>            Assignee: Manik Surtani
>             Fix For: 5.1.2.CR1, 5.1.2.FINAL
>
>
> While testing some stuff for ISPN-1837, I found that the hash configuration for DIST doesn't override properly when using the defineConfiguration method on the DefaultCacheManager.  The problem is that the OverrideConfigurationVisitor doesn't copy over the activated value, so when the config is copied it over it doesn't think the hash configuration was touched and subsequently skips it.
> The interesting thing is that L1 should also be broken, but because of how the LegacyConfigurationAdaptor works it actually activates L1 no matter what, since it will either enable or disable it.
> Also the override works properly if the default has a setting for the hash configuration.
> I have a testNG that very easily shows this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list