Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1859

CacheManager.defineConfiguration override doesn't work for hash configuration values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.1.2.CR1, 5.1.2.FINAL
    • 5.1.1.FINAL
    • None
    • None

      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.

              manik_jira Manik Surtani (Inactive)
              rpwburns William Burns (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: