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

RemoteCacheManagerAdmin#getOrCreateCache(..., null) on a cache container which does not have default cache should fail

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 9.2.3.Final
    • Hot Rod, Server
    • None

      The current code defaults to a local cache if the default cache is not defined

        configuration = cacheManager.getDefaultCacheConfiguration();
               if (configuration == null) {
                  configuration = new ConfigurationBuilder().build();
               }
      

      which is very unlikely it would be the intended configuration. This should rather fail fast.

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: