]
Radoslav Husar updated ISPN-9167:
---------------------------------
Priority: Minor (was: Major)
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
Priority: Minor
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.