[infinispan-issues] [JBoss JIRA] (ISPN-9167) RemoteCacheManagerAdmin#getOrCreateCache(..., null) on a cache container which does not have default cache should fail

Radoslav Husar (JIRA) issues at jboss.org
Wed May 16 09:30:00 EDT 2018


Radoslav Husar created ISPN-9167:
------------------------------------

             Summary: RemoteCacheManagerAdmin#getOrCreateCache(..., null) on a cache container which does not have default cache should fail
                 Key: ISPN-9167
                 URL: https://issues.jboss.org/browse/ISPN-9167
             Project: Infinispan
          Issue Type: Bug
          Components: Hot Rod, Server
            Reporter: Radoslav Husar


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

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

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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list