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

William Burns (JIRA) jira-events at lists.jboss.org
Mon Feb 13 22:36:01 EST 2012


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

William Burns updated ISPN-1859:
--------------------------------

    Git Pull Request: https://github.com/infinispan/infinispan/pull/947


Added pull request that contains testNG
                
> 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
>
> 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