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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: